Revision 56e3ea85
Added by Renato Botelho over 11 years ago
etc/inc/filter.inc | ||
---|---|---|
2671 | 2671 |
EOD; |
2672 | 2672 |
} |
2673 | 2673 |
|
2674 |
if($oc['type6'] == "slaac" || $oc['type6'] == "dhcp6") {
|
|
2674 |
if(isset($config['system']['ipv6allow']) && ($oc['type6'] == "slaac" || $oc['type6'] == "dhcp6")) {
|
|
2675 | 2675 |
$ipfrules .= <<<EOD |
2676 | 2676 |
# allow our DHCPv6 client out to the {$oc['descr']} |
2677 | 2677 |
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']}")}" |
Also available in: Unified diff
Only add dhcpv6 client allow rules if ipv6allow is set