summaryrefslogtreecommitdiffstats
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:09:52 -0500
commit4410f6990aa23b93dc92f66dede6363d83b4d76c (patch)
treebb120ae76425b779fd525d9d7e2d945bff345230
parent81f1947666ebbe19f1f6579a1e5293c42c6d1c04 (diff)
downloadpfsense-4410f6990aa23b93dc92f66dede6363d83b4d76c.zip
pfsense-4410f6990aa23b93dc92f66dede6363d83b4d76c.tar.gz
This might also say "icmpv6" here and lead to a bad rule.
-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