INN commit: branches/2.4/scripts (innreport_inn.pm)

INN Commit Russ_Allbery at isc.org
Sun Apr 6 14:34:47 UTC 2008


    Date: Sunday, April 6, 2008 @ 07:34:47
  Author: iulius
Revision: 7750

Do not report an unknown line when a cancel feed is closed.
Innreport does not (currently) count such cancels.

Modified:
  branches/2.4/scripts/innreport_inn.pm

------------------+
 innreport_inn.pm |    2 ++
 1 file changed, 2 insertions(+)

Modified: innreport_inn.pm
===================================================================
--- innreport_inn.pm	2008-04-06 14:15:04 UTC (rev 7749)
+++ innreport_inn.pm	2008-04-06 14:34:47 UTC (rev 7750)
@@ -373,6 +373,8 @@
     }
     # closed (without times (?))
     return 1 if $left =~ m/\S+ closed$/o;
+    # closed (for a cancel feed - MODE CANCEL)
+    return 1 if $left =~ m/localhost:\d+ closed seconds \d+ cancels \d+$/o;
     # checkpoint
     return 1 if $left =~ m/^\S+:\d+ checkpoint /o;
     # if ($left =~ /(\S+):\d+ checkpoint seconds (\d+) accepted (\d+)



More information about the inn-committers mailing list