mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-30 05:50:53 +03:00
nfqws: search Host: case insensitive
This commit is contained in:
parent
b6fe438017
commit
ebc2324edf
@ -51,7 +51,7 @@ static const uint8_t *FindHostInConst(const 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