summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/services.inc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2017-03-02 10:21:09 -0300
committerRenato Botelho <renato@netgate.com>2017-03-02 10:21:09 -0300
commit474def89674f5c843d5bad80baf1470e889ac28d (patch)
tree5a9c172e25606890ed0cc0bc410caf8d46fd6050 /src/etc/inc/services.inc
parentd51cdd48d55fa440dec19f96bec43a93e30efe7a (diff)
downloadpfsense-474def89674f5c843d5bad80baf1470e889ac28d.zip
pfsense-474def89674f5c843d5bad80baf1470e889ac28d.tar.gz
Use the same cache filename pattern for RFC2136 IPv6 items as used by dyndns
Diffstat (limited to 'src/etc/inc/services.inc')
-rw-r--r--src/etc/inc/services.inc5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/etc/inc/services.inc b/src/etc/inc/services.inc
index 021fb7e..a37a9a3 100644
--- a/src/etc/inc/services.inc
+++ b/src/etc/inc/services.inc
@@ -2533,7 +2533,10 @@ function services_dnsupdate_process($int = "", $updatehost = "", $forced = false
"/dyndns_{$dnsupdate['interface']}_rfc2136_" .
escapeshellarg($dnsupdate['host']) .
"_{$dnsupdate['server']}.cache";
- $cacheFilev6 = $cacheFile . ".ipv6";
+ $cacheFilev6 = $g['conf_path'] .
+ "/dyndns_{$dnsupdate['interface']}_rfc2136_" .
+ escapeshellarg($dnsupdate['host']) .
+ "_{$dnsupdate['server']}_v6.cache";
$currentTime = time();
if (!$wanip && !$wanipv6) {
OpenPOWER on IntegriCloud