diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-12-16 07:31:05 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-12-16 07:31:05 +0000 |
commit | 91e55d73ea0ab032b78a15222b1669e70b882e5c (patch) | |
tree | d09e16ad2f9ee209b0dc0d8e57bb8a1b0602ebb3 | |
parent | 971eaab5d7083c7c2a1a5cf16723c1644f24da35 (diff) | |
download | pfsense-91e55d73ea0ab032b78a15222b1669e70b882e5c.zip pfsense-91e55d73ea0ab032b78a15222b1669e70b882e5c.tar.gz |
Catch up with functions changes.
-rw-r--r-- | usr/local/www/services_dyndns_edit.php | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php index aa66e79..8f1eda8 100644 --- a/usr/local/www/services_dyndns_edit.php +++ b/usr/local/www/services_dyndns_edit.php @@ -99,9 +99,12 @@ if ($_POST) { /* XXX: Make this with a touch file */ $retval = 0; + conf_mount_rw(); + mwexec("rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache"); + conf_mount_ro(); + /* nuke the cache file */ config_lock(); - services_dyndns_reset($dyndns['interface'], $dyndns['type']); $retval = services_dyndns_configure_client($dyndns); config_unlock(); |