diff options
author | Chris Buechler <cmb@pfsense.org> | 2016-02-18 00:15:38 -0600 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2016-02-18 00:15:38 -0600 |
commit | d20a3d0857117865493e86b49c21b3a6fd1a2e9b (patch) | |
tree | 53129af310f9616eabeb5d6352877a89dfe66ede /src/etc | |
parent | 140a87c5c01963dc0c56dd594893d1c61082ee43 (diff) | |
download | pfsense-d20a3d0857117865493e86b49c21b3a6fd1a2e9b.zip pfsense-d20a3d0857117865493e86b49c21b3a6fd1a2e9b.tar.gz |
use get_interface_ip functions rather than find_ since the former handles VIPs, gateway groups, etc. correctly. Ticket #4858
Diffstat (limited to 'src/etc')
-rw-r--r-- | src/etc/inc/dyndns.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class index 85b5a70..a95eadc 100644 --- a/src/etc/inc/dyndns.class +++ b/src/etc/inc/dyndns.class @@ -1613,12 +1613,12 @@ } 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; } |