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); } }