aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2005-05-24 21:15:36 +0000
committerScott Ullrich <sullrich@pfsense.org>2005-05-24 21:15:36 +0000
commita8ae43db41fffae35ab9944ae7b3c91fa182ca6a (patch)
tree5ee5014cf7de2d802b691cd865d82dcea2cde5bd
parent9205e08bc8465d9fd624928b8e0b5dd60db3e1b2 (diff)
downloadpfsense-packages-a8ae43db41fffae35ab9944ae7b3c91fa182ca6a.tar.gz
pfsense-packages-a8ae43db41fffae35ab9944ae7b3c91fa182ca6a.tar.bz2
pfsense-packages-a8ae43db41fffae35ab9944ae7b3c91fa182ca6a.zip
Show INIT Status correctly
-rw-r--r--packages/carp_status.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/packages/carp_status.php b/packages/carp_status.php
index c4b64b86..764cdd16 100644
--- a/packages/carp_status.php
+++ b/packages/carp_status.php
@@ -130,8 +130,10 @@ if($config['installedpackages']['carp']['config'] <> "")
} else {
if($status == "MASTER") {
$icon = "<img {$align} src='/pass.gif'>";
- } else {
+ } else if($status == "BACKUP") {
$icon = "<img {$align} src='/pass_d.gif'>";
+ } else if($status == "INIT") {
+ $icon = "<img {$align} src='/log.gif'>";
}
}
echo "<td class=\"listlr\"><center>" . $carp_int . "&nbsp;</td>";