mirror of https://github.com/M66B/NetGuard.git
Native reduce traffic log in user mode
This commit is contained in:
parent
44d28d0cda
commit
28cafaa21d
|
@ -1100,7 +1100,7 @@ void handle_ip(const struct arguments *args, const uint8_t *pkt, const size_t le
|
|||
allowed = handle_udp(args, pkt, length, payload, uid, extra);
|
||||
log = (!allowed || dport != 53);
|
||||
} else if (protocol == IPPROTO_TCP) {
|
||||
allowed = handle_tcp(args, pkt, length, payload, uid, extra);
|
||||
allowed = handle_tcp(args, pkt, length, payload, uid, extra) || !debug;
|
||||
log = (!allowed || syn);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Reference in New Issue