From af917422c998a4f2df0022151ddb0ec35e8f68a3 Mon Sep 17 00:00:00 2001 From: M66B Date: Wed, 20 Jan 2016 15:25:09 +0100 Subject: [PATCH] Native fixed logging of other than TCP --- 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 baa1b91d..06c2c469 100644 --- a/app/src/main/jni/netguard/netguard.c +++ b/app/src/main/jni/netguard/netguard.c @@ -802,7 +802,7 @@ void handle_ip(const struct arguments *args, const uint8_t *buffer, const uint16 // Log traffic if (args->log) { - if (!args->filter || syn || !(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP)) + if (!args->filter || syn || protocol != IPPROTO_TCP) log_java(args, version, source, sport, dest, dport, protocol, flags, uid, allowed); } }