From 28cafaa21d97d7f2de395a4f09dce26a75e32236 Mon Sep 17 00:00:00 2001 From: M66B Date: Tue, 26 Jan 2016 21:58:30 +0100 Subject: [PATCH] Native reduce traffic log in user mode --- app/src/main/jni/netguard/netguard.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/jni/netguard/netguard.c b/app/src/main/jni/netguard/netguard.c index 95bf3a56..bef67e0c 100644 --- a/app/src/main/jni/netguard/netguard.c +++ b/app/src/main/jni/netguard/netguard.c @@ -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 {