diff options
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index 2142f3809..6bc140f8b 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: serverloop.c,v 1.150 2008/05/09 04:55:56 djm Exp $ */ | 1 | /* $OpenBSD: serverloop.c,v 1.151 2008/05/09 16:21:13 markus Exp $ */ |
2 | /* | 2 | /* |
3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 3 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland | 4 | * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland |
@@ -1160,7 +1160,10 @@ server_input_channel_req(int type, u_int32_t seq, void *ctxt) | |||
1160 | if ((c = channel_lookup(id)) == NULL) | 1160 | if ((c = channel_lookup(id)) == NULL) |
1161 | packet_disconnect("server_input_channel_req: " | 1161 | packet_disconnect("server_input_channel_req: " |
1162 | "unknown channel %d", id); | 1162 | "unknown channel %d", id); |
1163 | if (c->type == SSH_CHANNEL_LARVAL || c->type == SSH_CHANNEL_OPEN) | 1163 | if (!strcmp(rtype, "eow@openssh.com")) { |
1164 | packet_check_eom(); | ||
1165 | chan_rcvd_eow(c); | ||
1166 | } else if (c->type == SSH_CHANNEL_LARVAL || c->type == SSH_CHANNEL_OPEN) | ||
1164 | success = session_input_channel_req(c, rtype); | 1167 | success = session_input_channel_req(c, rtype); |
1165 | if (reply) { | 1168 | if (reply) { |
1166 | packet_start(success ? | 1169 | packet_start(success ? |