diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | packet.c | 8 |
2 files changed, 10 insertions, 3 deletions
@@ -122,6 +122,9 @@ | |||
122 | - markus@cvs.openbsd.org 2002/01/10 12:47:59 | 122 | - markus@cvs.openbsd.org 2002/01/10 12:47:59 |
123 | [nchan.c] | 123 | [nchan.c] |
124 | more unused code (with channels.c:1.156) | 124 | more unused code (with channels.c:1.156) |
125 | - markus@cvs.openbsd.org 2002/01/11 10:31:05 | ||
126 | [packet.c] | ||
127 | handle received SSH2_MSG_UNIMPLEMENTED messages; ok djm@ | ||
125 | 128 | ||
126 | 129 | ||
127 | 20020121 | 130 | 20020121 |
@@ -7270,4 +7273,4 @@ | |||
7270 | - Wrote replacements for strlcpy and mkdtemp | 7273 | - Wrote replacements for strlcpy and mkdtemp |
7271 | - Released 1.0pre1 | 7274 | - Released 1.0pre1 |
7272 | 7275 | ||
7273 | $Id: ChangeLog,v 1.1758 2002/01/22 12:22:44 djm Exp $ | 7276 | $Id: ChangeLog,v 1.1759 2002/01/22 12:23:11 djm Exp $ |
@@ -37,7 +37,7 @@ | |||
37 | */ | 37 | */ |
38 | 38 | ||
39 | #include "includes.h" | 39 | #include "includes.h" |
40 | RCSID("$OpenBSD: packet.c,v 1.83 2001/12/29 21:56:01 stevesk Exp $"); | 40 | RCSID("$OpenBSD: packet.c,v 1.84 2002/01/11 10:31:05 markus Exp $"); |
41 | 41 | ||
42 | #include "xmalloc.h" | 42 | #include "xmalloc.h" |
43 | #include "buffer.h" | 43 | #include "buffer.h" |
@@ -892,7 +892,7 @@ packet_read_poll2(u_int32_t *seqnr_p) | |||
892 | int | 892 | int |
893 | packet_read_poll_seqnr(u_int32_t *seqnr_p) | 893 | packet_read_poll_seqnr(u_int32_t *seqnr_p) |
894 | { | 894 | { |
895 | int reason; | 895 | int reason, seqnr; |
896 | u_char type; | 896 | u_char type; |
897 | char *msg; | 897 | char *msg; |
898 | 898 | ||
@@ -920,6 +920,10 @@ packet_read_poll_seqnr(u_int32_t *seqnr_p) | |||
920 | xfree(msg); | 920 | xfree(msg); |
921 | fatal_cleanup(); | 921 | fatal_cleanup(); |
922 | break; | 922 | break; |
923 | case SSH2_MSG_UNIMPLEMENTED: | ||
924 | seqnr = packet_get_int(); | ||
925 | debug("Received SSH2_MSG_UNIMPLEMENTED for %d", seqnr); | ||
926 | break; | ||
923 | default: | 927 | default: |
924 | return type; | 928 | return type; |
925 | break; | 929 | break; |