From ed870776b792297f780f63763004d862af4b3d43 Mon Sep 17 00:00:00 2001 From: Mark Reynolds Date: Wed, 18 Jan 2012 11:09:35 -0500 Subject: [PATCH] Ticket #177 - logconv.pl doesn't detect restarts Bug Description: logconv.pl incorrectly checks for restarts by looking for "conn=0 fd=". Fix Description: Back in the iplanet days we used to start our connection count this way but this has been changed, and logconv.pl needs to check for "conn=1 fd=" https://fedorahosted.org/389/ticket/177 --- ldap/admin/src/logconv.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap/admin/src/logconv.pl b/ldap/admin/src/logconv.pl index 39c9d7c156..cc2908e855 100755 --- a/ldap/admin/src/logconv.pl +++ b/ldap/admin/src/logconv.pl @@ -1148,7 +1148,7 @@ sub parseLine { if (m/ SORT /){$sortvlv++} if (m/ version=2/){$version2++} if (m/ version=3/){$version3++} -if (m/ conn=0 fd=/){$restarts++} +if (m/ conn=1 fd=/){$restarts++} if (m/ SSL connection from/){$sslconn++;} if (m/ connection from/){ $exc = "no";