summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRussell Coker <russell@coker.com.au>2017-06-06 15:00:20 +0100
committerColin Watson <cjwatson@debian.org>2017-08-22 16:19:30 +0100
commitf62d1568c95ad1ad193b95d61e6e93baf8b935a0 (patch)
tree773f3a25671ecad259432ad5ae81d7a43b354e0c
parent59b1519ddb11cc2393037e97ae806656c6276020 (diff)
Fix incoming compression statistics
Bug-Debian: https://bugs.debian.org/797964 Forwarded: https://lists.mindrot.org/pipermail/openssh-unix-dev/2017-June/036077.html Last-Update: 2017-06-06 Patch-Name: fix-incoming-compression-statistics.patch
-rw-r--r--packet.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/packet.c b/packet.c
index 2f3a2ec70..6492b66f9 100644
--- a/packet.c
+++ b/packet.c
@@ -606,7 +606,7 @@ ssh_packet_close(struct ssh *ssh)
606 deflateEnd(stream); 606 deflateEnd(stream);
607 } 607 }
608 if (state->compression_in_started) { 608 if (state->compression_in_started) {
609 z_streamp stream = &state->compression_out_stream; 609 z_streamp stream = &state->compression_in_stream;
610 debug("compress incoming: " 610 debug("compress incoming: "
611 "raw data %llu, compressed %llu, factor %.2f", 611 "raw data %llu, compressed %llu, factor %.2f",
612 (unsigned long long)stream->total_out, 612 (unsigned long long)stream->total_out,