Commit 6d8812c8 authored by Alexander Leisentritt's avatar Alexander Leisentritt Committed by Franco Fichtner

Fix DynDNS update for IPv6

parent 4d92687a
...@@ -1282,7 +1282,7 @@ class updatedns { ...@@ -1282,7 +1282,7 @@ class updatedns {
} }
function _checkIP() { function _checkIP() {
$ip_address = get_dyndns_ip($this->_if, $his->_useIPv6 ? 6 : 4); $ip_address = get_dyndns_ip($this->_if, $this->_useIPv6 ? 6 : 4);
if (!is_ipaddr($ip_address)) { if (!is_ipaddr($ip_address)) {
if ($this->_dnsVerboseLog) { if ($this->_dnsVerboseLog) {
log_error("Dynamic DNS ({$this->_dnsHost}): IP address could not be extracted"); log_error("Dynamic DNS ({$this->_dnsHost}): IP address could not be extracted");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment