Native fixed logging of other than TCP

This commit is contained in:
M66B 2016-01-20 15:25:09 +01:00
parent 0b3de63c40
commit af917422c9
1 changed files with 1 additions and 1 deletions

View File

@ -802,7 +802,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 || !(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); log_java(args, version, source, sport, dest, dport, protocol, flags, uid, allowed);
} }
} }