INN commit: trunk/scripts (innreport_inn.pm)

INN Commit rra at isc.org
Tue Mar 16 19:45:37 UTC 2010


    Date: Tuesday, March 16, 2010 @ 12:45:37
  Author: iulius
Revision: 9006

Silent two warnings (gethostbyaddr and getpeername) that used
not to be reported.  A change in nnrpd previously broke that.

Modified:
  trunk/scripts/innreport_inn.pm

------------------+
 innreport_inn.pm |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

Modified: innreport_inn.pm
===================================================================
--- innreport_inn.pm	2010-03-16 19:44:04 UTC (rev 9005)
+++ innreport_inn.pm	2010-03-16 19:45:37 UTC (rev 9006)
@@ -1674,14 +1674,14 @@
       $nnrpd_gethostbyaddr{$msg}++;
       return 1;
     }
-    # cant gethostbyaddr
-    if ($left =~ /\? cant gethostbyaddr (\S+) .*$/o) {
+    # can't gethostbyaddr
+    if ($left =~ /\? can\'t gethostbyaddr (\S+) .*$/o) {
       my $ip = $1;
       $nnrpd_gethostbyaddr{$ip}++;
       return 1;
     }
-    # cant getpeername
-    if ($left =~ /\? cant getpeername/o) {
+    # can't getpeername
+    if ($left =~ /\? can\'t getpeername/o) {
       # $nnrpd_getpeername++;
       $nnrpd_gethostbyaddr{"? (can't getpeername)"}++;
       return 1;




More information about the inn-committers mailing list