Skip to content

Commit

Permalink
dns/dyndns: correct address family request; closes #1202
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Feb 24, 2019
1 parent a417442 commit 007b64c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
3 changes: 1 addition & 2 deletions dns/dyndns/Makefile
Original file line number Diff line number Diff line change
@@ -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

Expand Down
4 changes: 2 additions & 2 deletions dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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}");
}
Expand Down

0 comments on commit 007b64c

Please sign in to comment.