packet: Dump also the packet type

Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
This commit is contained in:
Jakub Jelen
2018-12-11 19:05:58 +01:00
committed by Andreas Schneider
parent 347af845ab
commit 7e41d08f26

View File

@@ -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) {