diff options
author | jim-p <jimp@pfsense.org> | 2014-01-06 12:08:36 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2014-01-06 12:08:36 -0500 |
commit | 0959b4d3ac7a624f2c45034a22ee93c32d42de72 (patch) | |
tree | 9f003c3881b85c52a3ae889359bf262a18d8f827 | |
parent | 762b34c472e010a4f95655a657945e0034c62b7f (diff) | |
download | pfsense-0959b4d3ac7a624f2c45034a22ee93c32d42de72.zip pfsense-0959b4d3ac7a624f2c45034a22ee93c32d42de72.tar.gz |
This might also say "icmpv6" here and lead to a bad rule.
-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)) { |