Commit 7f2e31e6 authored by Ad Schellevis's avatar Ad Schellevis

(filter) FilterRule legacy compatibility icmp/inet6 -> ipv6-icmp

parent edb7b97d
......@@ -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;
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment