From ee651b0dbcef14f2c31b8e58dcd58edc0d9e09fc Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Wed, 21 Apr 2021 09:51:33 +0200 Subject: [PATCH] dns/dyndns: post-op --- dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc index 5f78efdd5..47b4684b0 100644 --- a/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc +++ b/dns/dyndns/src/etc/inc/plugins.inc.d/dyndns/phpDynDNS.inc @@ -448,7 +448,7 @@ class updatedns case 'noip-free': curl_setopt_array($ch, [ CURLOPT_SSL_VERIFYPEER => true, - CURLOPT_USERPWD => $this->_dnsUser.':'.$this->_dnsPass + CURLOPT_USERPWD => $this->_dnsUser . ':' . $this->_dnsPass ]); $server = "https://dynupdate.no-ip.com/nic/update"; $port = ""; @@ -470,7 +470,7 @@ class updatedns } else { $iptoset = $this->_dnsIP; } - curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost.'&myip=' . $iptoset); + curl_setopt($ch, CURLOPT_URL, $server . $port . '?hostname=' . $this->_dnsHost . '&myip=' . $iptoset); break; case 'easydns': curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, true);