diff options
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); } } |