summaryrefslogtreecommitdiffstats
path: root/libssh/packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'libssh/packet.c')
-rw-r--r--libssh/packet.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index 21c55a4..00f87f8 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -642,7 +642,8 @@ static int packet_wait2(SSH_SESSION *session,int type,int blocking){
switch(session->in_packet.type){
case SSH2_MSG_DISCONNECT:
packet_parse(session);
- return SSH_ERROR;
+ ssh_say(2,"received disconnect packet\n");
+ return SSH_ERROR;
case SSH2_MSG_CHANNEL_WINDOW_ADJUST:
case SSH2_MSG_CHANNEL_DATA:
case SSH2_MSG_CHANNEL_EXTENDED_DATA: