diff options
author | 2001-09-17 20:52:47 +0000 | |
---|---|---|
committer | 2001-09-17 20:52:47 +0000 | |
commit | cce3b2c311085e9a15ec2799e0fa5d8d17fe1ef0 (patch) | |
tree | 31b436f10446fc788d5625a885f589037af57554 /usr.bin/ssh/clientloop.c | |
parent | better error handling if you try to export a bad key to ssh.com (diff) | |
download | wireguard-openbsd-cce3b2c311085e9a15ec2799e0fa5d8d17fe1ef0.tar.xz wireguard-openbsd-cce3b2c311085e9a15ec2799e0fa5d8d17fe1ef0.zip |
try to fix agent-forwarding-backconnection-bug, as seen on HPUX, for example;
with Lutz.Jaenicke@aet.TU-Cottbus.DE,
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 41aff8354e9..e6da67d51a0 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.81 2001/07/17 21:04:57 markus Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.82 2001/09/17 20:52:47 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -1111,6 +1111,7 @@ client_request_x11(const char *request_type, int rchan) error("client_request_x11: channel_new failed"); close(sock); } + c->force_drain = 1; return c; } @@ -1136,6 +1137,7 @@ client_request_agent(const char *request_type, int rchan) error("client_request_agent: channel_new failed"); close(sock); } + c->force_drain = 1; return c; } |