diff options
-rw-r--r-- | etc/inc/easyrule.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/easyrule.inc b/etc/inc/easyrule.inc index 33ad170..6696844 100644 --- a/etc/inc/easyrule.inc +++ b/etc/inc/easyrule.inc @@ -273,7 +273,7 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp if ($proto == "icmp") $filterent['icmptype'] = 'echoreq'; - if (strtolower($proto) == "icmp6") + if ((strtolower($proto) == "icmp6") || (strtolower($proto) == "icmpv6")) $filterent['protocol'] = "icmp"; if (is_subnet($srchost)) { |