diff options
author | Darren Tucker <dtucker@zip.com.au> | 2008-07-02 22:32:14 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2008-07-02 22:32:14 +1000 |
commit | 8810dd41b9c5903452badac57aee3dee24c20be5 (patch) | |
tree | 9d43338db0677ea5ce69c0abf55cf385eb565fea /serverloop.c | |
parent | 00f00f0451087cf8593f11758e0973fa7d9349bc (diff) |
- djm@cvs.openbsd.org 2008/06/30 12:15:39
[serverloop.c]
only pass channel requests on session channels through to the session
channel handler, avoiding spurious log messages; ok! markus@
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/serverloop.c b/serverloop.c index ab4bf84af..bd6f82dc1 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: serverloop.c,v 1.152 2008/06/10 22:15:23 djm Exp $ */ | 1 | /* $OpenBSD: serverloop.c,v 1.153 2008/06/30 12:15:39 djm 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 |
@@ -1173,7 +1173,8 @@ server_input_channel_req(int type, u_int32_t seq, void *ctxt) | |||
1173 | if (!strcmp(rtype, "eow@openssh.com")) { | 1173 | if (!strcmp(rtype, "eow@openssh.com")) { |
1174 | packet_check_eom(); | 1174 | packet_check_eom(); |
1175 | chan_rcvd_eow(c); | 1175 | chan_rcvd_eow(c); |
1176 | } else if (c->type == SSH_CHANNEL_LARVAL || c->type == SSH_CHANNEL_OPEN) | 1176 | } else if ((c->type == SSH_CHANNEL_LARVAL || |
1177 | c->type == SSH_CHANNEL_OPEN) && strcmp(c->ctype, "session") == 0) | ||
1177 | success = session_input_channel_req(c, rtype); | 1178 | success = session_input_channel_req(c, rtype); |
1178 | if (reply) { | 1179 | if (reply) { |
1179 | packet_start(success ? | 1180 | packet_start(success ? |