diff options
author | Micael Karlberg <[email protected]> | 2012-02-09 12:01:00 +0100 |
---|---|---|
committer | Micael Karlberg <[email protected]> | 2012-02-09 12:01:00 +0100 |
commit | 1b257c80e9b1097ac762840cada2c607f1126bda (patch) | |
tree | 52f6f47813f95ce11e1953912aca4079e18a99ed /lib/inets/test/inets_test_lib.erl | |
parent | 3f89830e526e4fb7556c8a9fb79859fbd85756ac (diff) | |
download | otp-1b257c80e9b1097ac762840cada2c607f1126bda.tar.gz otp-1b257c80e9b1097ac762840cada2c607f1126bda.tar.bz2 otp-1b257c80e9b1097ac762840cada2c607f1126bda.zip |
[inets] Used invalid transport option for ssl (inet6fb4)
Diffstat (limited to 'lib/inets/test/inets_test_lib.erl')
-rw-r--r-- | lib/inets/test/inets_test_lib.erl | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl index 0c21d6661c..6129607f69 100644 --- a/lib/inets/test/inets_test_lib.erl +++ b/lib/inets/test/inets_test_lib.erl @@ -500,8 +500,9 @@ connect(ssl, Host, Port, Opts) -> "~n Port: ~p" "~n Opts: ~p", [Host, Port, Opts]), ssl:start(), - %% Does not support ipv6 in old ssl - case ssl:connect(Host, Port, Opts) of + %% We ignore this option for ssl... + %% ...maybe we should really treat this in the same way as ip_comm... + case ssl:connect(Host, Port, lists:delete(inet6fb4, Opts)) of {ok, Socket} -> {ok, Socket}; {error, Reason} -> |