summaryrefslogtreecommitdiffstats
path: root/packet.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2002-01-22 13:23:11 +0100
committerDamien Miller <djm@mindrot.org>2002-01-22 13:23:11 +0100
commit659811f7fca35260b97352b632e0c9ca4d5d7979 (patch)
treea23c415d4e2bd9e932be0f7524c3f7114981d633 /packet.c
parent - markus@cvs.openbsd.org 2002/01/10 12:47:59 (diff)
downloadopenssh-659811f7fca35260b97352b632e0c9ca4d5d7979.tar.xz
openssh-659811f7fca35260b97352b632e0c9ca4d5d7979.zip
- markus@cvs.openbsd.org 2002/01/11 10:31:05
[packet.c] handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@
Diffstat (limited to 'packet.c')
-rw-r--r--packet.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/packet.c b/packet.c
index 5d97c379e..3b3faeeaf 100644
--- a/packet.c
+++ b/packet.c
@@ -37,7 +37,7 @@
*/
#include "includes.h"
-RCSID("$OpenBSD: packet.c,v 1.83 2001/12/29 21:56:01 stevesk Exp $");
+RCSID("$OpenBSD: packet.c,v 1.84 2002/01/11 10:31:05 markus Exp $");
#include "xmalloc.h"
#include "buffer.h"
@@ -892,7 +892,7 @@ packet_read_poll2(u_int32_t *seqnr_p)
int
packet_read_poll_seqnr(u_int32_t *seqnr_p)
{
- int reason;
+ int reason, seqnr;
u_char type;
char *msg;
@@ -920,6 +920,10 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p)
xfree(msg);
fatal_cleanup();
break;
+ case SSH2_MSG_UNIMPLEMENTED:
+ seqnr = packet_get_int();
+ debug("Received SSH2_MSG_UNIMPLEMENTED for %d", seqnr);
+ break;
default:
return type;
break;