diff options
author | Chris Buechler <cmb@pfsense.org> | 2015-09-23 23:47:46 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2015-09-23 23:47:46 -0500 |
commit | 2f1e2ad9c14b4fab1d863ee93e4dd2e64668ed91 (patch) | |
tree | 1c0c5dd6b96d4b96aeda88bdb8d0b094ca1371e6 /etc | |
parent | 4ccf7dd97ac1e4684fc2c642a1c74209f2bab64a (diff) | |
download | pfsense-2f1e2ad9c14b4fab1d863ee93e4dd2e64668ed91.zip pfsense-2f1e2ad9c14b4fab1d863ee93e4dd2e64668ed91.tar.gz |
Use get_interface rather than find_interface here. It'll work for VIPs on gateway groups this way, and cache doesn't really matter here. Partial fix for Ticket #4990
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/dyndns.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/dyndns.class b/etc/inc/dyndns.class index 0bcaf56..3deffbf 100644 --- a/etc/inc/dyndns.class +++ b/etc/inc/dyndns.class @@ -1378,11 +1378,11 @@ log_error("DynDns ({$this->_dnsHost}): _checkIP() starting."); if ($this->_useIPv6 == true) { - $ip_address = find_interface_ipv6($this->_if); + $ip_address = get_interface_ipv6($this->_if); if (!is_ipaddrv6($ip_address)) return 0; } else { - $ip_address = find_interface_ip($this->_if); + $ip_address = get_interface_ip($this->_if); if (!is_ipaddr($ip_address)) return 0; } |