summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index c473a32..82de74a 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2758,7 +2758,7 @@ block in $bogonlog quick on \${$oc['descr']} from <bogons> to any label "{$fix_r
EOD;
}
- if($oc['type6'] == "slaac" || $oc['type6'] == "dhcp6") {
+ if(isset($config['system']['ipv6allow']) && ($oc['type6'] == "slaac" || $oc['type6'] == "dhcp6")) {
$ipfrules .= <<<EOD
# allow our DHCPv6 client out to the {$oc['descr']}
pass in quick on \${$oc['descr']} proto udp from fe80::/10 port = 546 to fe80::/10 port = 546 label "{$fix_rule_label("allow dhcpv6 client in {$oc['descr']}")}"
OpenPOWER on IntegriCloud