diff options
author | Matt Corallo <matt@bluematt.me> | 2012-05-22 16:45:46 +0200 |
---|---|---|
committer | Matt Corallo <matt@bluematt.me> | 2012-05-22 23:58:30 +0200 |
commit | 6bb73ce61e4cad27f11ae14c10d83d61c93e68e3 (patch) | |
tree | 392968481b2ef40c70546aa4330c15f2b7e632a8 /etc | |
parent | fffbfef0a8dee5a4c48fbcbe2a5e62f8ef7ca6ff (diff) | |
download | pfsense-6bb73ce61e4cad27f11ae14c10d83d61c93e68e3.zip pfsense-6bb73ce61e4cad27f11ae14c10d83d61c93e68e3.tar.gz |
Remove dead code.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/dyndns.class | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index f5eac57..e5ae147 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -82,8 +82,6 @@ var $_dnsPass; var $_dnsHost; var $_dnsIP; - /* This is needed for support on addresses behind NAT. */ - var $_ifIP; var $_dnsWildcard; var $_dnsMX; var $_dnsBackMX; @@ -163,11 +161,6 @@ $this->_dnsRequestIfIP = get_interface_ip($dnsRequestIf); // Ensure that we where able to lookup the IP - 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}."); - unlock($dyndnslck); - return; - } if(!is_ipaddr($this->_dnsIP)) { log_error("There was an error trying to determine the public IP for interface - {$dnsIf}({$this->_if}). Probably interface is not a WAN interface."); unlock($dyndnslck); @@ -1104,7 +1097,6 @@ $ip_address = find_interface_ip($this->_if); if (!is_ipaddr($ip_address)) return 0; - $this->_ifIP = $ip_address; if (is_private_ip($ip_address)) { $hosttocheck = "checkip.dyndns.org"; $try = 0; |