mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-04 12:20:42 +09:00
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:
committed by
Andreas Schneider
parent
347af845ab
commit
7e41d08f26
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user