summaryrefslogtreecommitdiffstats
path: root/src/etc/inc/dyndns.class
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2016-02-18 00:03:17 -0600
committerChris Buechler <cmb@pfsense.org>2016-02-18 00:03:17 -0600
commitac5c0cfe6174347966d6335ed6220e338121879c (patch)
tree15c199bbca5c73bc2a800a2f1b6dc17dea5f6001 /src/etc/inc/dyndns.class
parent35a49cf4b72402c28fe1af92315603edd517c3fe (diff)
downloadpfsense-ac5c0cfe6174347966d6335ed6220e338121879c.zip
pfsense-ac5c0cfe6174347966d6335ed6220e338121879c.tar.gz
Replace deprecated link_carp function, fix sprintf. Ticket #4858
Diffstat (limited to 'src/etc/inc/dyndns.class')
-rw-r--r--src/etc/inc/dyndns.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/etc/inc/dyndns.class b/src/etc/inc/dyndns.class
index 765df7e..9b0c18f 100644
--- a/src/etc/inc/dyndns.class
+++ b/src/etc/inc/dyndns.class
@@ -224,7 +224,7 @@
// Ensure that we were able to lookup the IP
if (!is_ipaddr($this->_dnsIP)) {
- log_error(sprintf(gettext('Dynamic DNS (%s$1) There was an error trying to determine the public IP for interface - %2$s(%3$s). Probably interface is not a WAN interface.'), $this->_FQDN, $dnsIf, $this->_if));
+ log_error(sprintf(gettext('Dynamic DNS (%1$s) There was an error trying to determine the public IP for interface - %2$s(%3$s). Probably interface is not a WAN interface.'), $this->_FQDN, $dnsIf, $this->_if));
unlock($dyndnslck);
return;
}
@@ -301,7 +301,7 @@
}
if (strstr($this->_dnsRequestIf, "_vip")) {
- $parentif = link_carp_interface_to_parent($this->_dnsRequestIf);
+ $parentif = get_configured_vip_interface($this->_dnsRequestIf);
$realparentif = convert_friendly_interface_to_real_interface_name($parentif);
} else {
$realparentif = $this->_dnsRequestIf;
OpenPOWER on IntegriCloud