Commit 6c57fc7a authored by Franco Fichtner's avatar Franco Fichtner

dyndns: fix tabs vs. spaces and indent

parent b990aad6
<?php <?php
/* /*
* PHP.updateDNS (OPNsense version) * PHP.updateDNS (OPNsense version)
* *
* +====================================================+ * +====================================================+
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
* *
*/ */
class updatedns { class updatedns {
var $_cacheFile; var $_cacheFile;
var $_cacheFile_v6; var $_cacheFile_v6;
var $_debugFile; var $_debugFile;
...@@ -1405,6 +1405,7 @@ ...@@ -1405,6 +1405,7 @@
fwrite($file, $string); fwrite($file, $string);
fclose($file); fclose($file);
} }
function _checkIP() { function _checkIP() {
$ip_address = get_dyndns_ip($this->_if, $his->_useIPv6 ? 6 : 4); $ip_address = get_dyndns_ip($this->_if, $his->_useIPv6 ? 6 : 4);
if (!is_ipaddr($ip_address)) { if (!is_ipaddr($ip_address)) {
...@@ -1423,7 +1424,4 @@ ...@@ -1423,7 +1424,4 @@
return $ip_address; return $ip_address;
} }
}
}
?>
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