summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_slbd_pool.php
diff options
context:
space:
mode:
authorBill Marquette <billm@pfsense.org>2008-04-07 00:50:14 +0000
committerBill Marquette <billm@pfsense.org>2008-04-07 00:50:14 +0000
commit43e7c36ca7e730d87d4c5be3e09b5c15f416b346 (patch)
treeba571607f17c257859ad985e6a17f9966649cbed /usr/local/www/status_slbd_pool.php
parent18e5545ede82176cae12a15e13b0aaec69875c9f (diff)
downloadpfsense-43e7c36ca7e730d87d4c5be3e09b5c15f416b346.zip
pfsense-43e7c36ca7e730d87d4c5be3e09b5c15f416b346.tar.gz
fix up reverse logic in return_clog() so it doesn't default to reverse
make the slbd status pages override the reverse logic in return_clog() so these pages aren't now broken. This change actually fixes the ipsec diag logs page being reverse (and not honoring the log reverse/forward setting on the logs setting page)
Diffstat (limited to 'usr/local/www/status_slbd_pool.php')
-rwxr-xr-xusr/local/www/status_slbd_pool.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_slbd_pool.php b/usr/local/www/status_slbd_pool.php
index da93f48..ca8ebe8 100755
--- a/usr/local/www/status_slbd_pool.php
+++ b/usr/local/www/status_slbd_pool.php
@@ -106,7 +106,8 @@ include("head.inc");
$lastchange = "";
$svr = split("\|", $server);
$monitorip = $svr[1];
- $logstates = return_clog($slbd_logfile, $nentries, array("$monitorip", "marking"), true);
+ $logstates = return_clog($slbd_logfile, $nentries, true, array("$monitorip", "marking"), "", true);
+
$logstates = $logstates[0];
if(stristr($logstates, $monitorip)) {
OpenPOWER on IntegriCloud