diff options
author | Erik Kristensen <ekristen@pfsense.org> | 2005-07-17 01:13:20 +0000 |
---|---|---|
committer | Erik Kristensen <ekristen@pfsense.org> | 2005-07-17 01:13:20 +0000 |
commit | 5928924f40c3b91d7642ed55cfa491f0b22b0f93 (patch) | |
tree | adeef7e69ad40cde0958cfc3c10651dec7f4f7dd /etc/inc/dyndns.class | |
parent | bcad3369a4bedafa9533fe9b352a73f910fc8e40 (diff) | |
download | pfsense-5928924f40c3b91d7642ed55cfa491f0b22b0f93.zip pfsense-5928924f40c3b91d7642ed55cfa491f0b22b0f93.tar.gz |
Fixed issue with cache file
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index 583d10b..6f11dd1 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -68,9 +68,9 @@ $this->_dnsHost = $dnsHost;
$this->_dnsIP = $dnsIP;
- if ($this->_detectChange() == FALSE) $this->_error(10);
-
- if ($this->_detectChange() == TRUE) {
+ if ($this->_detectChange() == FALSE) {
+ $this->_error(10);
+ } else {
if ($this->_dnsService == 'dyndns' ||
$this->_dnsService == 'dhs' ||
$this->_dnsService == 'noip' ||
@@ -83,8 +83,6 @@ } else {
$this->_error(6);
}
- } else {
- $this->_error(10);
}
}
@@ -394,6 +392,7 @@ return TRUE;
} else {
+
return FALSE;
}
}
|