some typo fix (#2512)

Signed-off-by: yeya24 <ben.ye@daocloud.io>
This commit is contained in:
Ye Ben 2019-01-29 23:21:19 +08:00 committed by Chris O'Haver
parent a84c26d78b
commit 0eff7f3797
5 changed files with 8 additions and 8 deletions

View file

@ -42,7 +42,7 @@ func TestCompressScrub(t *testing.T) {
}
buf = buf[:n]
// If there is compression in the returned packet we should look for compression pointers, if found
// the pointers should return to the domain name in the query (the first domain name that's avaiable for
// the pointers should return to the domain name in the query (the first domain name that's available for
// compression. This means we're looking for a combo where the pointers is detected and the offset is 12
// the position of the first name after the header. The erratic plugin adds 30 RRs that should all be compressed.
found := 0