diff options
author | Jakub Jelen <jjelen@redhat.com> | 2018-12-11 19:05:58 +0100 |
---|---|---|
committer | Andreas Schneider <asn@cryptomilk.org> | 2019-01-09 10:31:49 +0100 |
commit | 7e41d08f26fea543f09712474da077461bc74f7c (patch) | |
tree | 81e4b5f7627c9b07d808e04d396f17ac368ba039 /src | |
parent | 347af845ab65b42410dc08f9fa0aa1d8862664b2 (diff) | |
download | libssh-7e41d08f26fea543f09712474da077461bc74f7c.tar.gz libssh-7e41d08f26fea543f09712474da077461bc74f7c.tar.xz libssh-7e41d08f26fea543f09712474da077461bc74f7c.zip |
packet: Dump also the packet type
Signed-off-by: Jakub Jelen <jjelen@redhat.com>
Reviewed-by: Andreas Schneider <asn@cryptomilk.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/packet.c | 9 |
1 files 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) { |