mirror of https://github.com/M66B/NetGuard.git
Native log non TCP/UDP traffic in filtering mode
This commit is contained in:
parent
6ffb7eb861
commit
7adbd8e4e4
|
@ -694,7 +694,7 @@ void handle_ip(const struct arguments *args, const uint8_t *buffer, const uint16
|
||||||
|
|
||||||
// Log traffic
|
// Log traffic
|
||||||
if (args->log) {
|
if (args->log) {
|
||||||
if (!args->filter || syn)
|
if (!args->filter || syn || !(protocol == IPPROTO_TCP || protocol == IPPROTO_UDP))
|
||||||
log_java(args, version, source, sport, dest, dport, protocol, flags, uid, allowed);
|
log_java(args, version, source, sport, dest, dport, protocol, flags, uid, allowed);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue