From 03cc84d3f3ec122b0787bf6e97d2e715f979f432 Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Mon, 30 Apr 2012 17:28:28 +0000 Subject: [PATCH] Fix trivial Perl goof in logparse.pl which caused SSH2_MSG_CHANNEL_FAILURE to be reported as replying to ARRAY(0xrubbish) instead of to a message number. [originally from svn r9472] --- contrib/logparse.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/logparse.pl b/contrib/logparse.pl index 29043bae..a3d82840 100755 --- a/contrib/logparse.pl +++ b/contrib/logparse.pl @@ -414,7 +414,7 @@ my %packets = ( my $otherdir = ($direction eq "i" ? "o" : "i"); my $request = shift @{$chan->{'requests_' . $otherdir}}; if (defined $request) { - printf " to %s", $request; + printf " to %s", $request->[0]; } else { print " (spurious?)"; } -- 2.45.2