Merge pull request #2691 from NOYB/ICMPv6_Firewall_Log_Display_-_Fixes_5933_-_RELENG_2_2

This commit is contained in:
Renato Botelho 2016-03-02 08:40:10 -03:00
commit 398eecc1a7

View File

@ -190,7 +190,7 @@ function parse_filter_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'];