summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-11-28 16:47:17 -0500
committersullrich <sullrich@pfsense.org>2009-11-28 16:47:17 -0500
commit9c38bceaf7aca08e01e94dd9be6df11d9f5d79ef (patch)
tree3c3344dedeb3d5cdc23e946f34db51a40d6c8152 /usr/local
parentd74b5b8b1d18da030e7feb9d3d3d22ce9d85211b (diff)
downloadpfsense-9c38bceaf7aca08e01e94dd9be6df11d9f5d79ef.zip
pfsense-9c38bceaf7aca08e01e94dd9be6df11d9f5d79ef.tar.gz
Do not dedicate 16 characters to interface name
Diffstat (limited to 'usr/local')
-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 1dbadc0..12df1d5 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -109,16 +109,16 @@ if ($_POST) {
write_config();
-
- /* XXX: Make this with a touch file */
$retval = 0;
conf_mount_rw();
+
mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache");
- conf_mount_ro();
$retval = services_dyndns_configure_client($dyndns);
+ conf_mount_ro();
+
header("Location: services_dyndns.php");
exit;
}
OpenPOWER on IntegriCloud