mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
When configuring radvd, check if carp is enabled. Ticket #4252
This commit is contained in:
parent
42cc62a2e7
commit
150d479bc5
@ -96,8 +96,8 @@ function services_radvd_configure($blacklist = array()) {
|
||||
}
|
||||
|
||||
if (strstr($dhcpv6if, "_vip")) {
|
||||
// CARP IP, find parent
|
||||
if (get_carp_interface_status($dhcpv6if) != "MASTER")
|
||||
// CARP IP, check if it's enabled and find parent
|
||||
if (!get_carp_status() || get_carp_interface_status($dhcpv6if) != "MASTER")
|
||||
continue;
|
||||
$ifparent = link_carp_interface_to_parent($dhcpv6if);
|
||||
$realif = convert_friendly_interface_to_real_interface_name($ifparent);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user