diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-07-20 20:10:26 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-07-20 20:10:26 +0000 |
commit | 07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3 (patch) | |
tree | 1aa01fde284c748f52a85d8473797b08cbaf6611 /usr | |
parent | d5d0d9fe7bdee7e3b27bbb163b41fcda3bc2a206 (diff) | |
download | pfsense-07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3.zip pfsense-07cdb9a2db2b6a6fb49ac5f970427bd2a537e8d3.tar.gz |
Actually update host when a new account is configured.
Diffstat (limited to 'usr')
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 6 |
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); } } |