mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
ICMPv6 Firewall Log Display - Fixes 5933
ICMPv6 logging was not being displayed in firewall log.
This commit is contained in:
parent
a069d03fe0
commit
e4bda595c7
@ -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'];
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user