Commit b2e45d53 authored by Stas Korobeynikov's avatar Stas Korobeynikov Committed by Pavel Vainerman

set any additional NX option on the socket

parent 43afa30a
...@@ -2421,6 +2421,15 @@ ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive ...@@ -2421,6 +2421,15 @@ ssh_packet_set_interactive(struct ssh *ssh, int interactive, int qos_interactive
set_nodelay(state->connection_in); set_nodelay(state->connection_in);
ssh_packet_set_tos(ssh, interactive ? qos_interactive : ssh_packet_set_tos(ssh, interactive ? qos_interactive :
qos_bulk); qos_bulk);
/*
* Set any additional NX option on
* the socket.
*/
if (NxModeEnabled == 1) {
nx_set_socket_options(state->connection_in, 0);
}
} }
/* Returns true if the current connection is interactive. */ /* Returns true if the current connection is interactive. */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment