diff options
-rwxr-xr-x | usr/local/www/services_dyndns.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/usr/local/www/services_dyndns.php b/usr/local/www/services_dyndns.php index a411993..0852071 100755 --- a/usr/local/www/services_dyndns.php +++ b/usr/local/www/services_dyndns.php @@ -26,7 +26,7 @@ POSSIBILITY OF SUCH DAMAGE. */ /* - pfSense_BUILDER_BINARIES: /usr/bin/host + pfSense_BUILDER_BINARIES: /usr/bin/host pfSense_MODULE: dyndns */ @@ -118,7 +118,7 @@ include("head.inc"); <?php $types = explode(",", DYNDNS_PROVIDER_DESCRIPTIONS); $vals = explode(" ", DYNDNS_PROVIDER_VALUES); - for ($j = 0; $j < count($vals); $j++) + for ($j = 0; $j < count($vals); $j++) if ($vals[$j] == $dyndns['type']) { if (!isset($dyndns['enable'])) echo "<span class=\"gray\">".htmlspecialchars($types[$j])."</span>"; @@ -144,9 +144,9 @@ include("head.inc"); $ipaddr = dyndnsCheckIP($dyndns['interface']); $cached_ip_s = explode(":", file_get_contents($filename)); $cached_ip = $cached_ip_s[0]; - if ($ipaddr <> $cached_ip) + if ($ipaddr <> $cached_ip) echo "<font color='red'>"; - else + else echo "<font color='green'>"; echo htmlspecialchars($cached_ip); echo "</font>"; @@ -154,9 +154,9 @@ include("head.inc"); $ipv6addr = get_interface_ipv6($dyndns['interface']); $cached_ipv6_s = explode("|", file_get_contents($filename_v6)); $cached_ipv6 = $cached_ipv6_s[0]; - if ($ipv6addr <> $cached_ipv6) + if ($ipv6addr <> $cached_ipv6) echo "<font color='red'>"; - else + else echo "<font color='green'>"; echo htmlspecialchars($cached_ipv6); echo "</font>"; |