mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Correct DHCPv6 rules test to also include a check for DHCPv6 relay. Fixes #3074
This commit is contained in:
parent
abe411ad67
commit
0ee96a458a
@ -2743,7 +2743,8 @@ EOD;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
if ((is_array($config['dhcpdv6'][$on]) && isset($config['dhcpdv6'][$on]['enable'])) || isset($oc['track6-interface'])) {
|
||||
if ((is_array($config['dhcpdv6'][$on]) && isset($config['dhcpdv6'][$on]['enable'])) || isset($oc['track6-interface'])
|
||||
|| (is_array($config['dhcrelay6']) && !empty($config['dhcrelay6']['interface']) && in_array($on, explode(',', $config['dhcrelay6']['interface'])))) {
|
||||
$ipfrules .= <<<EOD
|
||||
# allow access to DHCPv6 server on {$oc['descr']}
|
||||
# We need inet6 icmp for stateless autoconfig and dhcpv6
|
||||
|
||||
Loading…
Reference in New Issue
Block a user