diff options
author | Renato Botelho <renato@netgate.com> | 2017-03-02 10:21:09 -0300 |
---|---|---|
committer | Renato Botelho <renato@netgate.com> | 2017-03-02 10:21:09 -0300 |
commit | 474def89674f5c843d5bad80baf1470e889ac28d (patch) | |
tree | 5a9c172e25606890ed0cc0bc410caf8d46fd6050 /src/etc/inc/services.inc | |
parent | d51cdd48d55fa440dec19f96bec43a93e30efe7a (diff) | |
download | pfsense-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.inc | 5 |
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) { |