INN commit: trunk/scripts (innreport_inn.pm)

INN Commit rra at isc.org
Mon Feb 26 21:04:04 UTC 2018


    Date: Monday, February 26, 2018 @ 13:04:04
  Author: iulius
Revision: 10250

innreport:  fix the output of the NoCeM section

Previously, errors during NoCeM processing did not appear in daily
Usenet reports.

Modified:
  trunk/scripts/innreport_inn.pm

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

Modified: innreport_inn.pm
===================================================================
--- innreport_inn.pm	2018-02-25 21:36:01 UTC (rev 10249)
+++ innreport_inn.pm	2018-02-26 21:04:04 UTC (rev 10250)
@@ -1941,6 +1941,7 @@
     if ($left =~ /Article <[^>]*>: (.*) \(ID [[:xdigit:]]*\) not in keyring/o) {
       $nocem_badsigs{$1}++;
       $nocem_goodsigs{$1} = 0 unless ($nocem_goodsigs{$1});
+      $nocem_totalids{$1} = 0 unless ($nocem_totalids{$1});
       $nocem_totalbad++;
       $nocem_lastid = $1;
       return 1;
@@ -1948,6 +1949,7 @@
     if ($left =~ /Article <[^>]*>: bad signature from (.*)/o) {
       $nocem_badsigs{$1}++;
       $nocem_goodsigs{$1} = 0 unless ($nocem_goodsigs{$1});
+      $nocem_totalids{$1} = 0 unless ($nocem_totalids{$1});
       $nocem_totalbad++;
       $nocem_lastid = $1;
       return 1;
@@ -1955,6 +1957,7 @@
     if ($left =~ /Article <[^>]*>: malformed signature/o) {
       $nocem_badsigs{'N/A'}++;
       $nocem_goodsigs{'N/A'} = 0 unless ($nocem_goodsigs{'N/A'});
+      $nocem_totalids{'N/A'} = 0 unless ($nocem_totalids{'N/A'});
       $nocem_totalbad++;
       $nocem_lastid = 'N/A';
       return 1;



More information about the inn-committers mailing list