summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
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 /etc/inc/dyndns.class
parent53d41b688552cddc4941031635e31f528468f4c1 (diff)
downloadpfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.zip
pfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.tar.gz
Resolves #1018. Provide a more unique host name for the file.
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 247fa68..05ec5c7 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -92,8 +92,8 @@
global $config, $g;
- $this->_cacheFile = "{$g['conf_path']}/dyndns_{$dnsIf}{$dnsService}.cache";
- $this->_debugFile = "{$g['varetc_path']}/dyndns_{$dnsIf}{$dnsService}.debug";
+ $this->_cacheFile = "{$g['conf_path']}/dyndns_{$dnsIf}{$dnsService}" . escapeshellarg($dnsHost) . ".cache";
+ $this->_debugFile = "{$g['varetc_path']}/dyndns_{$dnsIf}{$dnsService}" . escapeshellarg($dnsHost) . ".debug";
log_error("DynDns: updatedns() starting");
@@ -921,4 +921,4 @@
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud