From 43e7c36ca7e730d87d4c5be3e09b5c15f416b346 Mon Sep 17 00:00:00 2001 From: Bill Marquette Date: Mon, 7 Apr 2008 00:50:14 +0000 Subject: 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) --- usr/local/www/status_slbd_vs.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr/local/www/status_slbd_vs.php') diff --git a/usr/local/www/status_slbd_vs.php b/usr/local/www/status_slbd_vs.php index 1bc3aa3..3d86ceb 100755 --- a/usr/local/www/status_slbd_vs.php +++ b/usr/local/www/status_slbd_vs.php @@ -110,7 +110,7 @@ include("head.inc"); foreach ((array) $vipent['servers'] as $server) { $lastchange = ""; $monitorip = $server; - $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)) { -- cgit v1.1