summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2014-01-06 12:08:36 -0500
committerjim-p <jimp@pfsense.org>2014-01-06 12:08:36 -0500
commit0959b4d3ac7a624f2c45034a22ee93c32d42de72 (patch)
tree9f003c3881b85c52a3ae889359bf262a18d8f827 /etc
parent762b34c472e010a4f95655a657945e0034c62b7f (diff)
downloadpfsense-0959b4d3ac7a624f2c45034a22ee93c32d42de72.zip
pfsense-0959b4d3ac7a624f2c45034a22ee93c32d42de72.tar.gz
This might also say "icmpv6" here and lead to a bad rule.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/easyrule.inc2
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)) {
OpenPOWER on IntegriCloud