summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-12-16 07:31:05 +0000
committerErmal Luçi <eri@pfsense.org>2008-12-16 07:31:05 +0000
commit91e55d73ea0ab032b78a15222b1669e70b882e5c (patch)
treed09e16ad2f9ee209b0dc0d8e57bb8a1b0602ebb3 /usr/local/www/services_dyndns_edit.php
parent971eaab5d7083c7c2a1a5cf16723c1644f24da35 (diff)
downloadpfsense-91e55d73ea0ab032b78a15222b1669e70b882e5c.zip
pfsense-91e55d73ea0ab032b78a15222b1669e70b882e5c.tar.gz
Catch up with functions changes.
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php5
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();
OpenPOWER on IntegriCloud