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;
|
daddr = &ip4hdr->daddr;
|
||||||
|
|
||||||
if (ip4hdr->frag_off & IP_MF) {
|
if (ip4hdr->frag_off & IP_MF) {
|
||||||
log_android(ANDROID_LOG_ERROR, "IP fragment offset %u", ip4hdr->frag_off & IP_OFFMASK);
|
log_android(ANDROID_LOG_ERROR, "IP fragment offset %u",
|
||||||
flags[flen++] = '+';
|
(ip4hdr->frag_off & IP_OFFMASK) * 8);
|
||||||
report_error(args, 2, "TCP fragmentation");
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
uint8_t ipoptlen = (uint8_t) ((ip4hdr->ihl - 5) * 4);
|
uint8_t ipoptlen = (uint8_t) ((ip4hdr->ihl - 5) * 4);
|
||||||
|
|
Loading…
Reference in New Issue