aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/tinydns/tinydns_status.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/packages/tinydns/tinydns_status.php b/packages/tinydns/tinydns_status.php
index 03bad76f..007793a8 100644
--- a/packages/tinydns/tinydns_status.php
+++ b/packages/tinydns/tinydns_status.php
@@ -75,7 +75,10 @@ foreach($pingdir as $ping) {
echo "</td>";
echo "<td class=\"listlr\">";
$status = file_get_contents("/var/db/pingstatus/$ping");
- echo $status;
+ if(stristr($status,"DOWN"))
+ echo "<FONT COLOR='red'>DOWN</FONT>";
+ else
+ echo $status;
echo "</td>";
echo "<td class=\"listlr\">";
if(file_exists("/var/db/pingmsstatus/$ping"))