summaryrefslogtreecommitdiff
path: root/serverloop.c
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2001-12-21 15:00:19 +1100
committerDamien Miller <djm@mindrot.org>2001-12-21 15:00:19 +1100
commit278f907a2d6d00d6f52a11bf9577648aadbf0994 (patch)
tree50f885a7fd73b813754e3b675e810dc01ba78b78 /serverloop.c
parente737856350287104a12f5a97c81fad1f7bcd7096 (diff)
- djm@cvs.openbsd.org 2001/12/20 22:50:24
[auth2.c auth2-chall.c channels.c channels.h clientloop.c dispatch.c] [dispatch.h kex.c kex.h packet.c packet.h serverloop.c ssh.c] [sshconnect2.c] Conformance fix: we should send failing packet sequence number when responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
Diffstat (limited to 'serverloop.c')
-rw-r--r--serverloop.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/serverloop.c b/serverloop.c
index c876dc0ca..0754fe76f 100644
--- a/serverloop.c
+++ b/serverloop.c
@@ -35,7 +35,7 @@
35 */ 35 */
36 36
37#include "includes.h" 37#include "includes.h"
38RCSID("$OpenBSD: serverloop.c,v 1.87 2001/12/19 16:09:39 markus Exp $"); 38RCSID("$OpenBSD: serverloop.c,v 1.88 2001/12/20 22:50:24 djm Exp $");
39 39
40#include "xmalloc.h" 40#include "xmalloc.h"
41#include "packet.h" 41#include "packet.h"
@@ -791,7 +791,7 @@ server_loop2(Authctxt *authctxt)
791} 791}
792 792
793static void 793static void
794server_input_channel_failure(int type, int plen, void *ctxt) 794server_input_channel_failure(int type, int plen, u_int32_t seq, void *ctxt)
795{ 795{
796 debug("Got CHANNEL_FAILURE for keepalive"); 796 debug("Got CHANNEL_FAILURE for keepalive");
797 /* 797 /*
@@ -804,7 +804,7 @@ server_input_channel_failure(int type, int plen, void *ctxt)
804 804
805 805
806static void 806static void
807server_input_stdin_data(int type, int plen, void *ctxt) 807server_input_stdin_data(int type, int plen, u_int32_t seq, void *ctxt)
808{ 808{
809 char *data; 809 char *data;
810 u_int data_len; 810 u_int data_len;
@@ -821,7 +821,7 @@ server_input_stdin_data(int type, int plen, void *ctxt)
821} 821}
822 822
823static void 823static void
824server_input_eof(int type, int plen, void *ctxt) 824server_input_eof(int type, int plen, u_int32_t seq, void *ctxt)
825{ 825{
826 /* 826 /*
827 * Eof from the client. The stdin descriptor to the 827 * Eof from the client. The stdin descriptor to the
@@ -834,7 +834,7 @@ server_input_eof(int type, int plen, void *ctxt)
834} 834}
835 835
836static void 836static void
837server_input_window_size(int type, int plen, void *ctxt) 837server_input_window_size(int type, int plen, u_int32_t seq, void *ctxt)
838{ 838{
839 int row = packet_get_int(); 839 int row = packet_get_int();
840 int col = packet_get_int(); 840 int col = packet_get_int();
@@ -912,7 +912,7 @@ server_request_session(char *ctype)
912} 912}
913 913
914static void 914static void
915server_input_channel_open(int type, int plen, void *ctxt) 915server_input_channel_open(int type, int plen, u_int32_t seq, void *ctxt)
916{ 916{
917 Channel *c = NULL; 917 Channel *c = NULL;
918 char *ctype; 918 char *ctype;
@@ -962,7 +962,7 @@ server_input_channel_open(int type, int plen, void *ctxt)
962} 962}
963 963
964static void 964static void
965server_input_global_request(int type, int plen, void *ctxt) 965server_input_global_request(int type, int plen, u_int32_t seq, void *ctxt)
966{ 966{
967 char *rtype; 967 char *rtype;
968 int want_reply; 968 int want_reply;