summaryrefslogtreecommitdiffstats
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:08 +0000
commit253591c74a9004bc18101ccd413deec527463a77 (patch)
treeaf10cfd2d204c1033fae0580a86bd0ae4a3fff3b
parentb8873098b97cd780577398071a6388338fdaa088 (diff)
downloadpfsense-253591c74a9004bc18101ccd413deec527463a77.zip
pfsense-253591c74a9004bc18101ccd413deec527463a77.tar.gz
Fix status page of gateways to show gateways with monitoring disabled as up.
-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