From 7e41d08f26fea543f09712474da077461bc74f7c Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Tue, 11 Dec 2018 19:05:58 +0100 Subject: [PATCH] packet: Dump also the packet type Signed-off-by: Jakub Jelen Reviewed-by: Andreas Schneider --- src/packet.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/packet.c b/src/packet.c index 29824193..030a29a1 100644 --- a/src/packet.c +++ b/src/packet.c @@ -1614,8 +1614,13 @@ static int packet_send2(ssh_session session) } SSH_LOG(SSH_LOG_PACKET, - "packet: wrote [len=%d,padding_size=%hhd,comp=%d,payload=%d]", - finallen, padding_size, compsize, payloadsize); + "packet: wrote [type=%u, len=%u, padding_size=%hhd, comp=%u, " + "payload=%u]", + type, + finallen, + padding_size, + compsize, + payloadsize); rc = ssh_buffer_reinit(session->out_buffer); if (rc < 0) {