INN commit: trunk/scripts (innreport_inn.pm)

INN Commit Russ_Allbery at isc.org
Sat Jan 12 09:54:59 UTC 2008


    Date: Saturday, January 12, 2008 @ 01:54:59
  Author: iulius
Revision: 7704

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

Modified:
  trunk/scripts/innreport_inn.pm

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

Modified: innreport_inn.pm
===================================================================
--- innreport_inn.pm	2008-01-12 09:22:18 UTC (rev 7703)
+++ innreport_inn.pm	2008-01-12 09:54:59 UTC (rev 7704)
@@ -432,6 +432,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;
     # flush
     if ($left =~ /(\S+) flush$/o) {
       $innd_control{"flush"}++;



More information about the inn-committers mailing list