diff options
author | Ermal <eri@pfsense.org> | 2010-11-17 19:36:32 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-11-17 19:36:32 +0000 |
commit | 1ae5c631e8ec83ed5acdd60419dc436c893fe6ef (patch) | |
tree | ae39736516aa3724c72691a6e117181ac5e48b91 /etc | |
parent | 53d41b688552cddc4941031635e31f528468f4c1 (diff) | |
download | pfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.zip pfsense-1ae5c631e8ec83ed5acdd60419dc436c893fe6ef.tar.gz |
Resolves #1018. Provide a more unique host name for the file.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/dyndns.class | 6 |
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 +?> |