From 768eb89c423f647fb938a9e0a5bbda2a8810c9c7 Mon Sep 17 00:00:00 2001 From: smos Date: Thu, 13 Sep 2012 07:18:28 +0200 Subject: Make sure we process dyndns interfaces that use a failover group when processed from rc.newwanip, which just passes a interface. --- etc/inc/services.inc | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 4843fdd..a0c49b9 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -1388,12 +1388,13 @@ function services_dyndns_configure($int = "") { echo gettext("Starting DynDNS clients..."); foreach ($dyndnscfg as $dyndns) { - if (!empty($int) && $int != $dyndns['interface']) + $failovergroup = interface_gateway_group_member($int); + if ((!empty($int) && $int == $dyndns['interface']) || (!empty($failovergroup) && ($failovergroup == $dyndns['interface']))) { + services_dyndns_configure_client($dyndns); + sleep(1); + } else { continue; - - services_dyndns_configure_client($dyndns); - - sleep(1); + } } if ($g['booting']) -- cgit v1.1