From a60c6356ee22b081bdfe6b8a8dfd83865e6f2681 Mon Sep 17 00:00:00 2001 From: Renato Botelho Date: Tue, 18 Feb 2014 16:00:17 -0300 Subject: [PATCH] Move 'allow dhcpv6 client' rules above block bogonsv6 ones, it should fix #3395 --- etc/inc/filter.inc | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 428b131dfa..c473a3240b 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -2751,19 +2751,32 @@ EOD; if(isset($config['interfaces'][$on]['blockbogons'])) { $ipfrules .= << to any label "{$fix_rule_label("block bogon IPv4 networks from {$oc['descr']}")}" EOD; - if(isset($config['system']['ipv6allow'])) { - $ipfrules .= << to any label "{$fix_rule_label("block bogon IPv6 networks from {$oc['descr']}")}" EOD; - } } + $isbridged = false; if(is_array($config['bridges']['bridged'])) { foreach ($config['bridges']['bridged'] as $oc2) { @@ -2848,16 +2861,6 @@ EOD; break; } switch($oc['type6']) { - case "slaac": - case "dhcp6": - $ipfrules .= <<