mirror of git://anongit.mindrot.org/openssh.git
- markus@cvs.openbsd.org 2002/01/11 10:31:05
[packet.c] handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@
This commit is contained in:
parent
66ac6a43a8
commit
659811f7fc
|
@ -122,6 +122,9 @@
|
|||
- markus@cvs.openbsd.org 2002/01/10 12:47:59
|
||||
[nchan.c]
|
||||
more unused code (with channels.c:1.156)
|
||||
- markus@cvs.openbsd.org 2002/01/11 10:31:05
|
||||
[packet.c]
|
||||
handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@
|
||||
|
||||
|
||||
20020121
|
||||
|
@ -7270,4 +7273,4 @@
|
|||
- Wrote replacements for strlcpy and mkdtemp
|
||||
- Released 1.0pre1
|
||||
|
||||
$Id: ChangeLog,v 1.1758 2002/01/22 12:22:44 djm Exp $
|
||||
$Id: ChangeLog,v 1.1759 2002/01/22 12:23:11 djm Exp $
|
||||
|
|
8
packet.c
8
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;
|
||||
|
|
Loading…
Reference in New Issue