dns/dyndns: correct address family request; closes #1202

This commit is contained in:
Franco Fichtner
2019-02-24 20:36:17 +01:00
parent a417442fd0
commit 007b64c525
2 changed files with 3 additions and 4 deletions
+1 -2
View File
@@ -1,6 +1,5 @@
PLUGIN_NAME= dyndns
PLUGIN_VERSION= 1.12
PLUGIN_REVISION= 1
PLUGIN_VERSION= 1.13
PLUGIN_COMMENT= Dynamic DNS Support
PLUGIN_MAINTAINER= franco@opnsense.org
@@ -259,11 +259,11 @@ class updatedns
$this->_dnsMX = $dnsMX;
$this->_dnsZoneID = $dnsZoneID;
$this->_dnsTTL = $dnsTTL;
$this->_if = get_failover_interface($dnsIf);
$this->_if = get_failover_interface($dnsIf, $this->_useIPv6 ? 'inet6' : 'all');
$this->_checkIP();
$this->_dnsUpdateURL = $dnsUpdateURL;
$this->_dnsResultMatch = $dnsResultMatch;
$this->_dnsRequestIf = get_failover_interface($dnsRequestIf);
$this->_dnsRequestIf = get_failover_interface($dnsRequestIf, $this->_useIPv6 ? 'inet6' : 'all');
if ($this->_dnsVerboseLog) {
log_error("Dynamic DNS ({$this->_dnsHost}): running get_failover_interface for {$dnsRequestIf}. found {$this->_dnsRequestIf}");
}