summaryrefslogtreecommitdiffstats
path: root/etc/inc
diff options
context:
space:
mode:
authorMatt Corallo <matt@bluematt.me>2012-05-22 16:45:46 +0200
committerMatt Corallo <matt@bluematt.me>2012-05-22 23:58:30 +0200
commit6bb73ce61e4cad27f11ae14c10d83d61c93e68e3 (patch)
tree392968481b2ef40c70546aa4330c15f2b7e632a8 /etc/inc
parentfffbfef0a8dee5a4c48fbcbe2a5e62f8ef7ca6ff (diff)
downloadpfsense-6bb73ce61e4cad27f11ae14c10d83d61c93e68e3.zip
pfsense-6bb73ce61e4cad27f11ae14c10d83d61c93e68e3.tar.gz
Remove dead code.
Diffstat (limited to 'etc/inc')
-rw-r--r--etc/inc/dyndns.class8
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;
OpenPOWER on IntegriCloud