diff options
author | Florian Asche <github@florian-asche.de> | 2014-03-10 19:18:21 +0100 |
---|---|---|
committer | Florian Asche <github@florian-asche.de> | 2014-03-10 19:18:21 +0100 |
commit | 5d1185ced7e08036759feebdfa7b9e0cbe98427d (patch) | |
tree | 8ca8deeb478556d7c7ebf29196728d6db1299af7 /etc/inc/services.inc | |
parent | 09cb9dee691fc24737390965c622a15e3b9355d3 (diff) | |
download | pfsense-5d1185ced7e08036759feebdfa7b9e0cbe98427d.zip pfsense-5d1185ced7e08036759feebdfa7b9e0cbe98427d.tar.gz |
Update services.inc
Diffstat (limited to 'etc/inc/services.inc')
-rw-r--r-- | etc/inc/services.inc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/etc/inc/services.inc b/etc/inc/services.inc index bd6804b..11f2d04 100644 --- a/etc/inc/services.inc +++ b/etc/inc/services.inc @@ -2112,9 +2112,7 @@ function services_dnsupdate_process($int = "", $updatehost = "", $forced = false else $wanip = get_interface_ip($dnsupdate['interface']); - //$wanip = get_interface_ip($dnsupdate['interface']); $wanipv6 = get_interface_ipv6($dnsupdate['interface']); - $cacheFile = "{$g['conf_path']}/dyndns_{$dnsupdate['interface']}_rfc2136_" . escapeshellarg($dnsupdate['host']) . "_{$dnsupdate['server']}.cache"; $currentTime = time(); @@ -2178,9 +2176,6 @@ EOD; /* Update IPv4 if we have it. */ if (is_ipaddrv4($wanip)) { if (($wanip != $cachedipv4) || (($currentTime - $cacheTimev4) > $maxCacheAgeSecs) || $forced) { - if (isset($dnsupdate['usepublicip'])) { - $wanip = dyndnsCheckIP($dnsupdate['interface']); - } $upinst .= "update delete {$dnsupdate['host']}. A\n"; $upinst .= "update add {$dnsupdate['host']}. {$dnsupdate['ttl']} A {$wanip}\n"; $notify_text .= sprintf(gettext("DynDNS updated IP Address (A) for {$dnsupdate['host']} on %s (%s) to %s"), convert_real_interface_to_friendly_descr($if), $if, $wanip) . "\n"; |