@@ -20,10 +20,10 @@ discard block |
||
20 | 20 | protected $iniFilePath = "./conf/"; |
21 | 21 | protected $iniFileInwx = "inwx.ini"; |
22 | 22 | protected $iniFileDomain = ""; |
23 | - protected $inwx = []; // apiurl, username, password |
|
24 | - protected $domain = []; // inwx => domain, subdomain; ddns => apikey |
|
25 | - protected $IP4 = []; // oldip, newip, id, set |
|
26 | - protected $IP6 = []; // oldip, newip, id, set |
|
23 | + protected $inwx = []; // apiurl, username, password |
|
24 | + protected $domain = []; // inwx => domain, subdomain; ddns => apikey |
|
25 | + protected $IP4 = []; // oldip, newip, id, set |
|
26 | + protected $IP6 = []; // oldip, newip, id, set |
|
27 | 27 | protected $domrobot; |
28 | 28 | protected $logger; |
29 | 29 | protected $returnStatus = ""; |
@@ -182,7 +182,7 @@ discard block |
||
182 | 182 | $params['id'] = $this->IP4['id']; |
183 | 183 | $params['content'] = $this->IP4['newip'] = $ip; |
184 | 184 | $oldip = $this->IP4['oldip']; |
185 | - } elseif ($type == 'ipv6' && $this->IP6['set'] && filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) { |
|
185 | + } elseif ($type == 'ipv6' && $this->IP6['set'] && filter_var($ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6)) { |
|
186 | 186 | $params['id'] = $this->IP6['id']; |
187 | 187 | $params['content'] = $this->IP6['newip'] = $ip; |
188 | 188 | $oldip = $this->IP6['oldip']; |