diff options
Diffstat (limited to 'lib/ssh/src/ssh_connection.erl')
-rw-r--r-- | lib/ssh/src/ssh_connection.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_connection.erl b/lib/ssh/src/ssh_connection.erl index 1c22b095e8..3fb4222d53 100644 --- a/lib/ssh/src/ssh_connection.erl +++ b/lib/ssh/src/ssh_connection.erl @@ -685,7 +685,7 @@ handle_msg(#ssh_msg_channel_open{channel_type = "direct-tcpip", send_buf = queue:new() }), gen_tcp:controlling_process(Sock, Pid), - ssh_tcpip_forward_srv:use_socket(Pid, Sock), + inet:setopts(Sock, [{active,once}]), {channel_open_confirmation_msg(RemoteId, ChId, ?DEFAULT_WINDOW_SIZE, |