summaryrefslogtreecommitdiffstats
path: root/etc/inc/dyndns.class
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/dyndns.class')
-rw-r--r--etc/inc/dyndns.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class
index 1ec6f5a..c448112 100644
--- a/etc/inc/dyndns.class
+++ b/etc/inc/dyndns.class
@@ -120,7 +120,7 @@
$this->_dnsMX = $dnsMX;
$this->_if = $dnsIf;
- $this->_dnsIP = get_current_wan_address($dnsIf);
+ $this->_dnsIP = get_interface_ip($dnsIf);
$this->_debugID = rand(1000000, 9999999);
if ($this->_detectChange() == FALSE) {
OpenPOWER on IntegriCloud