diff options
author | 2010-11-13 23:27:50 +0000 | |
---|---|---|
committer | 2010-11-13 23:27:50 +0000 | |
commit | 86c6b38240c85da373ab1e4db9ebd5a766003c0f (patch) | |
tree | 2c7ac312fd478848f482c0ccc53fae0847f379c5 /usr.bin/ssh/clientloop.c | |
parent | backout 1.86 (diff) | |
download | wireguard-openbsd-86c6b38240c85da373ab1e4db9ebd5a766003c0f.tar.xz wireguard-openbsd-86c6b38240c85da373ab1e4db9ebd5a766003c0f.zip |
allow ssh and sshd to set arbitrary TOS/DSCP/QoS values instead of
hardcoding lowdelay/throughput.
bz#1733 patch from philipp AT redfish-solutions.com; ok markus@ deraadt@
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 3a315ec01c8..ee12c8f0444 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -1,4 +1,4 @@ -/* $OpenBSD: clientloop.c,v 1.223 2010/10/06 06:39:28 djm Exp $ */ +/* $OpenBSD: clientloop.c,v 1.224 2010/11/13 23:27:50 djm Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland @@ -1955,6 +1955,9 @@ client_session2_setup(int id, int want_tty, int want_subsystem, if ((c = channel_lookup(id)) == NULL) fatal("client_session2_setup: channel %d: unknown channel", id); + packet_set_interactive(want_tty, + options.ip_qos_interactive, options.ip_qos_bulk); + if (want_tty) { struct winsize ws; |