diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-12-11 11:42:41 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-12-11 11:42:41 +0000 |
commit | 0be93267a678021ab9c5de04be0976e83cd17011 (patch) | |
tree | a9fd29a05aeb300a9eb039fb45288880dcd4f94a /etc/inc/services.inc | |
parent | be620dfd9283ee644c57b3c558c7dd603d0f4897 (diff) | |
download | pfsense-0be93267a678021ab9c5de04be0976e83cd17011.zip pfsense-0be93267a678021ab9c5de04be0976e83cd17011.tar.gz |
Touch up some comments and error messages. Teach dydns_configure to update only one interface.
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index 19bc5cc..ebf60f9 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -577,7 +577,7 @@ function services_dyndns_configure_client($conf) { } -function services_dyndns_configure() { +function services_dyndns_configure($int = "") { global $config, $g; if(isset($config['system']['developerspew'])) { $mt = microtime(); @@ -594,9 +594,15 @@ function services_dyndns_configure() { if (!isset($dyndns['enable'])) continue; + if (!empty($int) && $int != $dyndns['interface']) + continue; + services_dyndns_configure_client($dyndns); sleep(1); + + if (!empty($int)) + break; } if ($g['booting']) |