mirror of
https://github.com/bol-van/zapret.git
synced 2024-12-23 06:42:34 +00:00
nfqws: search Host: case insensitive
This commit is contained in:
parent
29fb5f19f2
commit
b6fe438017
@ -40,7 +40,7 @@ static uint8_t *FindHostIn(uint8_t *buf, size_t bs)
|
||||
size_t pos;
|
||||
if (bs<6) return NULL;
|
||||
bs-=6;
|
||||
for(pos=0;pos<bs;pos++)
|
||||
for(pos=0;pos<=bs;pos++)
|
||||
if (IsHostAt(buf+pos))
|
||||
return buf+pos;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user