summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-03-20 13:25:36 -0400
committerjim-p <jimp@pfsense.org>2013-03-20 13:26:17 -0400
commitdaffbc34a912caeab791d2aa31ee70e1aed5a8e1 (patch)
tree4cb7498b10e0c52c199e0cd2957382cb8912f3c6 /etc
parentba1d9714c5a96d892a6a80157d542f2dbe4fb71c (diff)
downloadpfsense-daffbc34a912caeab791d2aa31ee70e1aed5a8e1.zip
pfsense-daffbc34a912caeab791d2aa31ee70e1aed5a8e1.tar.gz
While I'm here, fix an IPv6 ICMP easy rule issue.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/easyrule.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/easyrule.inc b/etc/inc/easyrule.inc
index a88b322..86e2294 100644
--- a/etc/inc/easyrule.inc
+++ b/etc/inc/easyrule.inc
@@ -272,6 +272,9 @@ function easyrule_pass_rule_add($int, $proto, $srchost, $dsthost, $dstport, $ipp
if ($proto == "icmp")
$filterent['icmptype'] = 'echoreq';
+ if (strtolower($proto) == "icmp6")
+ $filterent['protocol'] = "icmp";
+
if (is_subnet($srchost)) {
list($srchost, $srcmask) = explode("/", $srchost);
} elseif (is_specialnet($srchost)) {
OpenPOWER on IntegriCloud