summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2012-09-13 07:18:28 +0200
committersmos <seth.mos@dds.nl>2012-09-13 07:18:28 +0200
commit768eb89c423f647fb938a9e0a5bbda2a8810c9c7 (patch)
tree3659ba637432c02a7bf409aadd3d3a0dd3698ba9 /etc
parentcdb0df65b7f8962ba9483e9a3a4e7ef43a9abde6 (diff)
downloadpfsense-768eb89c423f647fb938a9e0a5bbda2a8810c9c7.zip
pfsense-768eb89c423f647fb938a9e0a5bbda2a8810c9c7.tar.gz
Make sure we process dyndns interfaces that use a failover group when processed from rc.newwanip, which just passes a interface.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc11
1 files 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'])
OpenPOWER on IntegriCloud