mirror of https://github.com/M66B/NetGuard.git
Native fixed logging of other than TCP
This commit is contained in:
parent
0b3de63c40
commit
af917422c9
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue