summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-11-04 03:16:14 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-11-04 03:16:14 +0000
commitd6fcb946ee132b30943312321053b8ecf215e538 (patch)
tree98e7fed4abbe7c711e9ed414732cdc613cc11e22 /etc/inc/dyndns.class
parent53d366fd6512a4f784bbf74f6c829b1f0e3819fa (diff)
downloadpfsense-d6fcb946ee132b30943312321053b8ecf215e538.zip
pfsense-d6fcb946ee132b30943312321053b8ecf215e538.tar.gz
Log the current dyndns service
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class3
1 files changed, 2 insertions, 1 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 78ad013..2e8437f 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -254,6 +254,7 @@
*/
function _checkStatus($data) {
log_error("DynDns: DynDns _checkStatus() starting.");
+ log_error("DynDns: Current Service: {$this->_dnsService}");
switch ($this->_dnsService) {
case 'dyndns':
if (preg_match('/notfqdn/i', $data)) {
@@ -475,7 +476,7 @@
list($cacheIP,$cacheTime) = split(':', $contents);
$this->_debug($cacheIP.'/'.$cacheTime);
$initial = false;
- log_error("DynDns: Cached IP: {cacheIP}");
+ log_error("DynDns: Cached IP: {$cacheIP}");
} else {
conf_mount_rw();
$file = fopen($this->_cacheFile, 'w');
OpenPOWER on IntegriCloud