mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-11 02:38:09 +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,
|
SSH_LOG(SSH_LOG_PACKET,
|
||||||
"packet: wrote [len=%d,padding_size=%hhd,comp=%d,payload=%d]",
|
"packet: wrote [type=%u, len=%u, padding_size=%hhd, comp=%u, "
|
||||||
finallen, padding_size, compsize, payloadsize);
|
"payload=%u]",
|
||||||
|
type,
|
||||||
|
finallen,
|
||||||
|
padding_size,
|
||||||
|
compsize,
|
||||||
|
payloadsize);
|
||||||
|
|
||||||
rc = ssh_buffer_reinit(session->out_buffer);
|
rc = ssh_buffer_reinit(session->out_buffer);
|
||||||
if (rc < 0) {
|
if (rc < 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user