[ssh.c]
     set interactive ToS for forwarded X11 sessions.  ok djm@
This commit is contained in:
Darren Tucker 2012-07-02 18:55:09 +10:00
parent 3b4b2d3021
commit 7b30501bf5
2 changed files with 8 additions and 1 deletions

View File

@ -10,6 +10,9 @@
the read-syscall and wait forever for systrace-answers) by replacing the read-syscall and wait forever for systrace-answers) by replacing
the read/write synchronisation with SIGSTOP/SIGCONT; the read/write synchronisation with SIGSTOP/SIGCONT;
report and help hshoexer@; ok djm@, dtucker@ report and help hshoexer@; ok djm@, dtucker@
- dtucker@cvs.openbsd.org 2012/07/02 08:50:03
[ssh.c]
set interactive ToS for forwarded X11 sessions. ok djm@
20120629 20120629
- OpenBSD CVS Sync - OpenBSD CVS Sync

6
ssh.c
View File

@ -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> * Author: Tatu Ylonen <ylo@cs.hut.fi>
* Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@ -1359,6 +1359,10 @@ ssh_session2_setup(int id, int success, void *arg)
packet_send(); 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"), client_session2_setup(id, tty_flag, subsystem_flag, getenv("TERM"),
NULL, fileno(stdin), &command, environ); NULL, fileno(stdin), &command, environ);
} }