summaryrefslogtreecommitdiff
path: root/ssh.c
diff options
context:
space:
mode:
authorDarren Tucker <dtucker@zip.com.au>2012-07-02 18:55:09 +1000
committerDarren Tucker <dtucker@zip.com.au>2012-07-02 18:55:09 +1000
commit7b30501bf53c3d5df9691f8e52b1f76bb61f2a35 (patch)
tree989ba8c472c34a9bad7ff0beddfcc6252bae7486 /ssh.c
parent3b4b2d30219d2ecb1426d2f9339239d32bad7bf6 (diff)
- dtucker@cvs.openbsd.org 2012/07/02 08:50:03
[ssh.c] set interactive ToS for forwarded X11 sessions. ok djm@
Diffstat (limited to 'ssh.c')
-rw-r--r--ssh.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/ssh.c b/ssh.c
index 68e131527..3c376d0ff 100644
--- a/ssh.c
+++ b/ssh.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: ssh.c,v 1.368 2011/10/24 02:10:46 djm Exp $ */ 1/* $OpenBSD: ssh.c,v 1.369 2012/07/02 08:50:03 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -1359,6 +1359,10 @@ ssh_session2_setup(int id, int success, void *arg)
1359 packet_send(); 1359 packet_send();
1360 } 1360 }
1361 1361
1362 /* Tell the packet module whether this is an interactive session. */
1363 packet_set_interactive(interactive,
1364 options.ip_qos_interactive, options.ip_qos_bulk);
1365
1362 client_session2_setup(id, tty_flag, subsystem_flag, getenv("TERM"), 1366 client_session2_setup(id, tty_flag, subsystem_flag, getenv("TERM"),
1363 NULL, fileno(stdin), &command, environ); 1367 NULL, fileno(stdin), &command, environ);
1364} 1368}