summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorDaniel Becker <razzfazz@gmail.com>2013-07-07 15:28:35 -0700
committerDaniel Becker <razzfazz@gmail.com>2013-07-10 19:01:36 -0700
commitc3101e14c0389ff7b78a5fbc2cb55815f8f8b8f5 (patch)
tree1c9a0351f3a05a3a906d0fa206ec2ca6d03a34cb /etc
parent93749c103f879631b2a5c97b572be927ef479b85 (diff)
downloadpfsense-c3101e14c0389ff7b78a5fbc2cb55815f8f8b8f5.zip
pfsense-c3101e14c0389ff7b78a5fbc2cb55815f8f8b8f5.tar.gz
Change separator as per JimP's request.
Diffstat (limited to 'etc')
-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 8d3c9e8..e1f7b03 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -1026,7 +1026,7 @@
$currentTime = time();
notify_all_remote(sprintf(gettext("DynDNS updated IPv6 Address on %s (%s) to %s"), convert_real_interface_to_friendly_descr($this->_if), $this->_if, $wan_ip));
log_error("phpDynDNS: updating cache file {$this->_cacheFile_v6}: {$wan_ip}");
- @file_put_contents($this->_cacheFile_v6, "{$wan_ip}@{$currentTime}");
+ @file_put_contents($this->_cacheFile_v6, "{$wan_ip}|{$currentTime}");
} else
@unlink($this->_cacheFile_v6);
conf_mount_ro();
@@ -1104,14 +1104,14 @@
if ($this->_useIPv6 == true) {
if (file_exists($this->_cacheFile_v6)) {
$contents = file_get_contents($this->_cacheFile_v6);
- list($cacheIP,$cacheTime) = explode('@', $contents);
+ list($cacheIP,$cacheTime) = explode('|', $contents);
$this->_debug($cacheIP.'/'.$cacheTime);
$initial = false;
$log_error .= "Cached IPv6: {$cacheIP} ";
} else {
conf_mount_rw();
$cacheIP = '::';
- @file_put_contents($this->_cacheFile, "::@{$currentTime}");
+ @file_put_contents($this->_cacheFile, "::|{$currentTime}");
conf_mount_ro();
$cacheTime = $currentTime;
$initial = true;
OpenPOWER on IntegriCloud