diff options
author | Damien Miller <djm@mindrot.org> | 2002-04-23 21:09:44 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2002-04-23 21:09:44 +1000 |
commit | 2797f7f03a6aecfaaf2dadb1284b4b51869339d6 (patch) | |
tree | 3abe68f5830195c04c3db25ad2adf0eee8254529 /clientloop.c | |
parent | d7de14b6ada79812cf3a1ceb8f921d92d4d180be (diff) | |
download | openssh-git-2797f7f03a6aecfaaf2dadb1284b4b51869339d6.tar.gz |
- markus@cvs.openbsd.org 2002/04/22 21:04:52
[channels.c clientloop.c clientloop.h ssh.c]
request reply (success/failure) for -R style fwd in protocol v2,
depends on ordered replies.
fixes http://bugzilla.mindrot.org/show_bug.cgi?id=215; ok provos@
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/clientloop.c b/clientloop.c index 7644ff39..15945a80 100644 --- a/clientloop.c +++ b/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.99 2002/03/21 23:07:37 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.100 2002/04/22 21:04:52 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -1314,6 +1314,7 @@ static void client_init_dispatch_20(void) { dispatch_init(&dispatch_protocol_error); + dispatch_set(SSH2_MSG_CHANNEL_CLOSE, &channel_input_oclose); dispatch_set(SSH2_MSG_CHANNEL_DATA, &channel_input_data); dispatch_set(SSH2_MSG_CHANNEL_EOF, &channel_input_ieof); @@ -1327,6 +1328,10 @@ client_init_dispatch_20(void) /* rekeying */ dispatch_set(SSH2_MSG_KEXINIT, &kex_input_kexinit); + + /* global request reply messages */ + dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); + dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); } static void client_init_dispatch_13(void) |