summaryrefslogtreecommitdiffstats
path: root/etc/inc/services.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-01-21 14:36:38 -0200
committerRenato Botelho <garga@FreeBSD.org>2015-01-21 14:38:27 -0200
commit52b5a22363d34bbd621b9eb555cf849782318dda (patch)
treefadc1eeb9e0f491ff12083eff59e79e644ef90a2 /etc/inc/services.inc
parentcaaaf9ceeca1bd57f653e5acf37498ba4ee9f42e (diff)
downloadpfsense-52b5a22363d34bbd621b9eb555cf849782318dda.zip
pfsense-52b5a22363d34bbd621b9eb555cf849782318dda.tar.gz
When radvd is configured on a CARP interface, enable it when it is MASTER and disable when go to BACKUP. It should fix #4252
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r--etc/inc/services.inc2
1 files changed, 2 insertions, 0 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 0f49664..d7ec242 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -97,6 +97,8 @@ function services_radvd_configure($blacklist = array()) {
if (strstr($dhcpv6if, "_vip")) {
// CARP IP, find parent
+ if (get_carp_interface_status($dhcpv6if) != "MASTER")
+ continue;
$ifparent = link_carp_interface_to_parent($dhcpv6if);
$realif = convert_friendly_interface_to_real_interface_name($ifparent);
} else {
OpenPOWER on IntegriCloud