summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-28 20:35:08 +0000
committerErmal <eri@pfsense.org>2011-07-28 20:35:16 +0000
commitdb07cc25af08bc731ba96c3c01c0bbd25d476aaa (patch)
tree97d02a4934181691b31928989b99c72adcc0cbfe /usr
parent33c06ef791a58d95df4c6674a8e87e5b1186689c (diff)
downloadpfsense-db07cc25af08bc731ba96c3c01c0bbd25d476aaa.zip
pfsense-db07cc25af08bc731ba96c3c01c0bbd25d476aaa.tar.gz
Fix status page of gateways to show gateways with monitoring disabled as up.
Diffstat (limited to 'usr')
-rwxr-xr-xusr/local/www/status_gateways.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/local/www/status_gateways.php b/usr/local/www/status_gateways.php
index 7e0ffc2..0aa6e56 100755
--- a/usr/local/www/status_gateways.php
+++ b/usr/local/www/status_gateways.php
@@ -109,6 +109,9 @@ include("head.inc");
$online = gettext("Online");
$bgcolor = "lightgreen";
}
+ } else if (isset($gateway['monitor_disable'])) {
+ $online = gettext("Online");
+ $bgcolor = "lightgreen";
} else {
$online = gettext("Gathering data");
$bgcolor = "lightgray";
OpenPOWER on IntegriCloud