summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-07-20 20:10:26 +0000
committerErmal Luçi <eri@pfsense.org>2008-07-20 20:10:26 +0000
commit07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3 (patch)
tree1aa01fde284c748f52a85d8473797b08cbaf6611
parentd5d0d9fe7bdee7e3b27bbb163b41fcda3bc2a206 (diff)
downloadpfsense-07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3.zip
pfsense-07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3.tar.gz
Actually update host when a new account is configured.
-rw-r--r--usr/local/www/services_dyndns_edit.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 36bd1bc..995ae97 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -87,17 +87,17 @@ if ($_POST) {
write_config();
- header("Location: services_dyndns.php");
- exit;
/* XXX: Make this with a touch file */
$retval = 0;
/* nuke the cache file */
config_lock();
- services_dyndns_reset();
+ services_dyndns_reset($dyndns['interface'], $dyndns['type']);
$retval = services_dyndns_configure();
config_unlock();
+ header("Location: services_dyndns.php");
+ exit;
$savemsg = get_std_save_message($retval);
}
}
OpenPOWER on IntegriCloud