aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh
diff options
context:
space:
mode:
authorHans Nilsson <[email protected]>2016-06-13 15:48:02 +0200
committerHans Nilsson <[email protected]>2016-06-13 15:48:02 +0200
commit4e0bb309fae6449269068fa810e225ed0b828425 (patch)
treecba2fc770bb54970569c253d446fd80db321fd67 /lib/ssh
parentb686b7f7beb46dfdcd83e23cccca74839e373f1e (diff)
downloadotp-4e0bb309fae6449269068fa810e225ed0b828425.tar.gz
otp-4e0bb309fae6449269068fa810e225ed0b828425.tar.bz2
otp-4e0bb309fae6449269068fa810e225ed0b828425.zip
ssh: add experimental test flag
Diffstat (limited to 'lib/ssh')
-rw-r--r--lib/ssh/src/ssh.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index 65f1acc6a6..0570853a9b 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -601,10 +601,13 @@ handle_option([{profile, _ID} = Opt|Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
handle_option([{max_random_length_padding, _Bool} = Opt|Rest], SocketOptions, SshOptions) ->
handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
+handle_option([{tstflg, _} = Opt|Rest], SocketOptions, SshOptions) ->
+ handle_option(Rest, SocketOptions, [handle_ssh_option(Opt) | SshOptions]);
handle_option([Opt | Rest], SocketOptions, SshOptions) ->
handle_option(Rest, [handle_inet_option(Opt) | SocketOptions], SshOptions).
+handle_ssh_option({tstflg,_F} = Opt) -> Opt;
handle_ssh_option({minimal_remote_max_packet_size, Value} = Opt) when is_integer(Value), Value >=0 ->
Opt;
handle_ssh_option({system_dir, Value} = Opt) when is_list(Value) ->