Revision ceb90928
Added by Renato Botelho over 8 years ago
src/etc/inc/services.inc | ||
---|---|---|
2574 | 2574 |
|
2575 | 2575 |
$wanipv6 = get_interface_ipv6($if); |
2576 | 2576 |
$cacheFile = "{$g['conf_path']}/dyndns_{$dnsupdate['interface']}_rfc2136_" . escapeshellarg($dnsupdate['host']) . "_{$dnsupdate['server']}.cache"; |
2577 |
$cacheFilev6 = $cacheFile . ".ipv6";
|
|
2577 |
$cacheFilev6 = "{$g['conf_path']}/dyndns_{$dnsupdate['interface']}_rfc2136_" . escapeshellarg($dnsupdate['host']) . "_{$dnsupdate['server']}_v6.cache";
|
|
2578 | 2578 |
$currentTime = time(); |
2579 | 2579 |
|
2580 | 2580 |
if ($wanip || $wanipv6) { |
Also available in: Unified diff
Use the same cache filename pattern for RFC2136 IPv6 items as used by dyndns