diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-29 19:52:00 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-29 19:52:00 +0000 |
commit | f343674d5e297f16aafe24f68620b22656a27ba1 (patch) | |
tree | 521d8f0522d150f47be13c129c139cf69e044577 /serverloop.c | |
parent | 2f0304c768a2f44b78471a258b2dd7ce9acc199b (diff) |
- markus@cvs.openbsd.org 2001/04/29 19:16:52
[channels.c clientloop.c compat.c compat.h serverloop.c]
more ssh.com-2.0.x bug-compat; from per@appgate.com
Diffstat (limited to 'serverloop.c')
-rw-r--r-- | serverloop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/serverloop.c b/serverloop.c index 1687fd102..2ca892e5d 100644 --- a/serverloop.c +++ b/serverloop.c | |||
@@ -35,7 +35,7 @@ | |||
35 | */ | 35 | */ |
36 | 36 | ||
37 | #include "includes.h" | 37 | #include "includes.h" |
38 | RCSID("$OpenBSD: serverloop.c,v 1.62 2001/04/29 18:32:52 markus Exp $"); | 38 | RCSID("$OpenBSD: serverloop.c,v 1.63 2001/04/29 19:16:52 markus Exp $"); |
39 | 39 | ||
40 | #include "xmalloc.h" | 40 | #include "xmalloc.h" |
41 | #include "packet.h" | 41 | #include "packet.h" |
@@ -894,8 +894,10 @@ server_input_channel_open(int type, int plen, void *ctxt) | |||
894 | packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); | 894 | packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); |
895 | packet_put_int(rchan); | 895 | packet_put_int(rchan); |
896 | packet_put_int(SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED); | 896 | packet_put_int(SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED); |
897 | packet_put_cstring("bla bla"); | 897 | if (!(datafellows & SSH_BUG_OPENFAILURE)) { |
898 | packet_put_cstring(""); | 898 | packet_put_cstring("bla bla"); |
899 | packet_put_cstring(""); | ||
900 | } | ||
899 | packet_send(); | 901 | packet_send(); |
900 | } | 902 | } |
901 | xfree(ctype); | 903 | xfree(ctype); |