Firewall log not dispalaying intentionally logged IGMP packets

The log filter were dropped because the packets did not get source and destination set.

Signed-off-by: Isaac (.ike) Levy <ike@blackskyresearch.net>
This commit is contained in:
Isaac (.ike) Levy 2016-01-31 01:06:14 -05:00
parent 35a11180fc
commit b79a6d1432

View File

@ -254,6 +254,9 @@ function parse_filter_line($line)
}
break;
}
} elseif ($flent['protoid'] == '2') { // IGMP
$flent['src'] = $flent['srcip'];
$flent['dst'] = $flent['dstip'];
} elseif ($flent['protoid'] == '112') { // CARP
$flent['type'] = $rule_data[$field++];
$flent['ttl'] = $rule_data[$field++];