Native reduce traffic log in user mode

This commit is contained in:
M66B 2016-01-26 21:58:30 +01:00
parent 44d28d0cda
commit 28cafaa21d
1 changed files with 1 additions and 1 deletions

View File

@ -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 {