diff options
author | djm <djm> | 2002-04-23 11:09:44 +0000 |
---|---|---|
committer | djm <djm> | 2002-04-23 11:09:44 +0000 |
commit | 20806a9d3137d8de09d6368cef63fe2ab2745bcd (patch) | |
tree | 9aeec9ffa65349ff36fe242251cfe11d46c8a1e9 /channels.c | |
parent | f3989242862136bf3ae883eb2e7814662e012292 (diff) | |
download | openssh-20806a9d3137d8de09d6368cef63fe2ab2745bcd.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 'channels.c')
-rw-r--r-- | channels.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -39,7 +39,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.172 2002/03/25 21:13:51 markus Exp $"); +RCSID("$OpenBSD: channels.c,v 1.173 2002/04/22 21:04:52 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -2130,7 +2130,7 @@ channel_request_remote_forwarding(u_short listen_port, const char *address_to_bind = "0.0.0.0"; packet_start(SSH2_MSG_GLOBAL_REQUEST); packet_put_cstring("tcpip-forward"); - packet_put_char(0); /* boolean: want reply */ + packet_put_char(1); /* boolean: want reply */ packet_put_cstring(address_to_bind); packet_put_int(listen_port); packet_send(); |