summaryrefslogtreecommitdiffstats
path: root/usr/local/www/services_dyndns_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-11-17 19:36:32 +0000
committerErmal <eri@pfsense.org>2010-11-17 19:36:32 +0000
commit1ae5c631e8ec83ed5acdd60419dc436c893fe6ef (patch)
treeae39736516aa3724c72691a6e117181ac5e48b91 /usr/local/www/services_dyndns_edit.php
parent53d41b688552cddc4941031635e31f528468f4c1 (diff)
downloadpfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.zip
pfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.tar.gz
Resolves #1018. Provide a more unique host name for the file.
Diffstat (limited to 'usr/local/www/services_dyndns_edit.php')
-rw-r--r--usr/local/www/services_dyndns_edit.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/services_dyndns_edit.php b/usr/local/www/services_dyndns_edit.php
index 7d3072c..22435ff 100644
--- a/usr/local/www/services_dyndns_edit.php
+++ b/usr/local/www/services_dyndns_edit.php
@@ -117,7 +117,7 @@ if ($_POST) {
conf_mount_rw();
- mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}.cache");
+ mwexec("/bin/rm {$g['conf_path']}/dyndns_{$dyndns['interface']}{$dyndns['type']}" . escapeshellarg($dyndns['host']) . ".cache");
$retval = services_dyndns_configure_client($dyndns);
OpenPOWER on IntegriCloud