mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
dhcp: allow radvd to use /128 CARP VIP as source
The check is for the subnet use, not the CARP source check in between. PR: https://forum.opnsense.org/index.php?topic=44634.0
This commit is contained in:
parent
c92114e44b
commit
c7036be53c
@ -251,7 +251,7 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = [])
|
||||
}
|
||||
|
||||
foreach (config_read_array('virtualip', 'vip') as $vip) {
|
||||
if ($vip['interface'] != $dhcpv6if || !is_ipaddrv6($vip['subnet']) || $vip['subnet_bits'] == '128') {
|
||||
if ($vip['interface'] != $dhcpv6if || !is_ipaddrv6($vip['subnet'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@ -263,7 +263,7 @@ function dhcpd_radvd_configure($verbose = false, $blacklist = [])
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!empty($vip['nobind'])) {
|
||||
if ($vip['subnet_bits'] == '128' || !empty($vip['nobind'])) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user