Native log non TCP/UDP traffic in filtering mode

This commit is contained in:
M66B 2016-01-19 22:25:23 +01:00
parent 6ffb7eb861
commit 7adbd8e4e4
1 changed files with 1 additions and 1 deletions

View File

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