summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-04-13 20:38:13 +0000
committerErmal <eri@pfsense.org>2010-04-13 20:38:13 +0000
commitd2946062aaf7a5442275a1c3d2bbab14a597f109 (patch)
tree854c70bdb4e7df6584df9e5d68478e2ea6fb04d8 /etc
parent85b2f4249870024af2a4e5e972238f72332e48b6 (diff)
downloadpfsense-d2946062aaf7a5442275a1c3d2bbab14a597f109.zip
pfsense-d2946062aaf7a5442275a1c3d2bbab14a597f109.tar.gz
Move checking if dyndns is enabled to the proper place.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/services.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc
index 3951cfd..8e16e72 100644
--- a/etc/inc/services.inc
+++ b/etc/inc/services.inc
@@ -549,6 +549,9 @@ function services_dhcrelay_configure() {
function services_dyndns_configure_client($conf) {
+ if (!isset($conf['enable']))
+ continue;
+
/* load up the dyndns.class */
require_once("dyndns.class");
@@ -578,9 +581,6 @@ function services_dyndns_configure($int = "") {
echo "Starting DynDNS clients...";
foreach ($dyndnscfg as $dyndns) {
- if (!isset($dyndns['enable']))
- continue;
-
if (!empty($int) && $int != $dyndns['interface'])
continue;
OpenPOWER on IntegriCloud