mirror of https://github.com/M66B/NetGuard.git
parent
0d0d49ad28
commit
a4106e3e98
|
@ -146,9 +146,9 @@ void handle_ip(const struct arguments *args,
|
|||
daddr = &ip4hdr->daddr;
|
||||
|
||||
if (ip4hdr->frag_off & IP_MF) {
|
||||
log_android(ANDROID_LOG_ERROR, "IP fragment offset %u", ip4hdr->frag_off & IP_OFFMASK);
|
||||
flags[flen++] = '+';
|
||||
report_error(args, 2, "TCP fragmentation");
|
||||
log_android(ANDROID_LOG_ERROR, "IP fragment offset %u",
|
||||
(ip4hdr->frag_off & IP_OFFMASK) * 8);
|
||||
return;
|
||||
}
|
||||
|
||||
uint8_t ipoptlen = (uint8_t) ((ip4hdr->ihl - 5) * 4);
|
||||
|
|
Loading…
Reference in New Issue