summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 64eaa58..b9f543e 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -468,7 +468,7 @@
$this->_debug($cacheIP.'/'.$cacheTime);
- $initial = true;
+ $initial = false;
} else {
$file = fopen($this->_cacheFile, 'w');
fwrite($file, '0.0.0.0:'.$currentTime);
@@ -476,7 +476,7 @@
$cacheIP = '0.0.0.0';
$cacheTime = $currentTime;
- $initial = false;
+ $initial = true;
}
switch ($this->_dnsService) {
OpenPOWER on IntegriCloud