aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAris Adamantiadis <aris@0xbadc0de.be>2008-06-17 00:14:40 +0000
committerAris Adamantiadis <aris@0xbadc0de.be>2008-06-17 00:14:40 +0000
commit507ea1e90f7561c0c3c835d004bacb1b66ee3eeb (patch)
tree70bb63c7b6fc539a1a154dac8d2dd1a680bf5395
parentaf637c9e8eac503f105fce70dd7af7431af80195 (diff)
downloadlibssh-507ea1e90f7561c0c3c835d004bacb1b66ee3eeb.tar.gz
libssh-507ea1e90f7561c0c3c835d004bacb1b66ee3eeb.tar.xz
libssh-507ea1e90f7561c0c3c835d004bacb1b66ee3eeb.zip
oops missed a line in the fix
git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/libssh/trunk@173 7dcaeef0-15fb-0310-b436-a5af3365683c
-rw-r--r--libssh/packet.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/libssh/packet.c b/libssh/packet.c
index eb810fee..f0b4ebb9 100644
--- a/libssh/packet.c
+++ b/libssh/packet.c
@@ -428,6 +428,9 @@ void packet_parse(SSH_SESSION *session){
case SSH_SMSG_EXITSTATUS:
channel_handle1(session,type);
return;
+ case SSH_MSG_DEBUG:
+ case SSH_MSG_IGNORE:
+ break;
default:
ssh_say(2,"Unexpected message code %d\n",type);
}
@@ -461,7 +464,7 @@ void packet_parse(SSH_SESSION *session){
case SSH2_MSG_DEBUG:
return;
default:
- ssh_say(0,"Received unhandled msg %d\n",type);
+ ssh_log(session,SSH_LOG_RARE,"Received unhandled packet %d",type);
}
#ifdef HAVE_SSH1
}
@@ -489,12 +492,11 @@ static int packet_wait1(SSH_SESSION *session,int type,int blocking){
channel_handle1(session,type);
break;
case SSH_MSG_DEBUG:
+ case SSH_MSG_IGNORE:
break;
/* case SSH2_MSG_CHANNEL_CLOSE:
packet_parse(session);
break;;
- case SSH2_MSG_IGNORE:
- break;
*/
default:
if(type && (type != session->in_packet.type)){