INN commit: branches/2.5/scripts (innreport_inn.pm)
INN Commit
rra at isc.org
Tue Mar 16 19:53:02 UTC 2010
Date: Tuesday, March 16, 2010 @ 12:53:02
Author: iulius
Revision: 9013
Silent two warnings (gethostbyaddr and getpeername) that used
not to be reported. A change in nnrpd previously broke that.
Modified:
branches/2.5/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:52:50 UTC (rev 9012)
+++ innreport_inn.pm 2010-03-16 19:53:02 UTC (rev 9013)
@@ -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