diff options
author | Ermal <eri@pfsense.org> | 2010-10-25 12:28:45 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2010-10-25 12:28:45 +0000 |
commit | 52e5285f7ee2738a51280e9350909ed15a30c227 (patch) | |
tree | c759403becd68723961f539717e786e0d8c38b52 /etc/inc/dyndns.class | |
parent | 24b2aa62beafe22517dc34421b78001477703db7 (diff) | |
download | pfsense-52e5285f7ee2738a51280e9350909ed15a30c227.zip pfsense-52e5285f7ee2738a51280e9350909ed15a30c227.tar.gz |
Make this more strict checking.
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r-- | etc/inc/dyndns.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index a5799d9..a07a793 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -124,7 +124,7 @@ $this->_ifIP = get_interface_ip($dnsIf); // Ensure that we where able to lookup the IP - if(!$this->_ifIP) { + if(!is_ipaddr($this->_ifIP)) { log_error("There was an error trying to determine the IP for interface - {$dnsIf}({$this->_if}). Probably interface has no ip or is down. Dyndns update not possible for {$dnsService}."); return; } |