diff options
author | 2012-07-02 08:50:03 +0000 | |
---|---|---|
committer | 2012-07-02 08:50:03 +0000 | |
commit | a875d60052dc0028f96bd48f66f99e16cd23a448 (patch) | |
tree | 9f50b46a9c514d94d661fa7f6dd004b24fd3653e /usr.bin/ssh/ssh.c | |
parent | Maintain mg's Public Domain license heritage. (diff) | |
download | wireguard-openbsd-a875d60052dc0028f96bd48f66f99e16cd23a448.tar.xz wireguard-openbsd-a875d60052dc0028f96bd48f66f99e16cd23a448.zip |
set interactive ToS for forwarded X11 sessions. ok djm@
Diffstat (limited to 'usr.bin/ssh/ssh.c')
-rw-r--r-- | usr.bin/ssh/ssh.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/usr.bin/ssh/ssh.c b/usr.bin/ssh/ssh.c index 83c2afe7c33..ac3a9236438 100644 --- a/usr.bin/ssh/ssh.c +++ b/usr.bin/ssh/ssh.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ssh.c,v 1.368 2011/10/24 02:10:46 djm Exp $ */ +/* $OpenBSD: ssh.c,v 1.369 2012/07/02 08:50:03 dtucker Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1308,6 +1308,10 @@ ssh_session2_setup(int id, int success, void *arg) packet_send(); } + /* Tell the packet module whether this is an interactive session. */ + packet_set_interactive(interactive, + options.ip_qos_interactive, options.ip_qos_bulk); + client_session2_setup(id, tty_flag, subsystem_flag, getenv("TERM"), NULL, fileno(stdin), &command, environ); } |