diff options
author | Daniel Becker <razzfazz@gmail.com> | 2013-07-07 15:28:35 -0700 |
---|---|---|
committer | Daniel Becker <razzfazz@gmail.com> | 2013-07-07 15:28:35 -0700 |
commit | b4319c50f76fdc39a4ea03e7038b282fa97ec967 (patch) | |
tree | 3031e27e93934e30ef7c11367b444c67becddc33 /etc | |
parent | 66185fc79ac453f151fb09f5e415d5a3e1ec425e (diff) | |
download | pfsense-b4319c50f76fdc39a4ea03e7038b282fa97ec967.zip pfsense-b4319c50f76fdc39a4ea03e7038b282fa97ec967.tar.gz |
Change separator as per JimP's request.
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 9f754bd..cfff391 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -1111,7 +1111,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(); @@ -1189,14 +1189,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; |