mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-16 01:24:38 +00:00
(filter) FilterRule legacy compatibility icmp/inet6 -> ipv6-icmp
This commit is contained in:
parent
edb7b97d03
commit
7f2e31e6d7
@ -234,6 +234,10 @@ class FilterRule
|
||||
"/" . $tmp['max-src-conn-rates'] . ", overload <virusprot> flush global ";
|
||||
}
|
||||
}
|
||||
// icmpv6
|
||||
if ($ipproto == 'inet6' && !empty($tmp['protocol']) && $tmp['protocol'] == "icmp") {
|
||||
$tmp['protocol'] = 'ipv6-icmp';
|
||||
}
|
||||
$result[] = $tmp;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user