ICMPv6 Firewall Log Display - Fixes 5933

ICMPv6 logging was not being displayed in firewall log.
This commit is contained in:
NOYB 2016-02-27 00:02:07 -08:00
parent a069d03fe0
commit e4bda595c7

View File

@ -395,7 +395,7 @@ function parse_firewall_log_line($line) {
$flent['urg'] = $rule_data[$field++];
$flent['options'] = explode(";", $rule_data[$field++]);
}
} else if ($flent['protoid'] == '1') { // ICMP
} else if ($flent['protoid'] == '1' || $flent['protoid'] == '58') { // ICMP (IPv4 & IPv6)
$flent['src'] = $flent['srcip'];
$flent['dst'] = $flent['dstip'];