diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-12-09 00:53:26 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-12-09 00:53:26 +0000 |
commit | 59d65a4615cda970ba0ce08368deaab537b0e59e (patch) | |
tree | 3a462e915efa088abf518a20875bcb766a62638b /packages | |
parent | e21ed1b0163b6badeda12a7cb6fb7f416606513e (diff) | |
download | pfsense-packages-59d65a4615cda970ba0ce08368deaab537b0e59e.tar.gz pfsense-packages-59d65a4615cda970ba0ce08368deaab537b0e59e.tar.bz2 pfsense-packages-59d65a4615cda970ba0ce08368deaab537b0e59e.zip |
Show down hosts in RED
Diffstat (limited to 'packages')
-rw-r--r-- | packages/tinydns/tinydns_status.php | 5 |
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")) |