summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-09-30 11:46:05 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-09-30 11:46:05 +0000
commit003fb3121f65caddf168b3c493cb891513b0538b (patch)
treee4968f4ec77f8c8b4acc9f37129ee34d8c07b8b5 /etc/inc/dyndns.class
parentd4255207b4da026a62703da4bad790ff3b6ea1d3 (diff)
downloadpfsense-003fb3121f65caddf168b3c493cb891513b0538b.zip
pfsense-003fb3121f65caddf168b3c493cb891513b0538b.tar.gz
* Run dyndns at 2:01 am
* Fix $initial values Ticket #574
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