aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMicael Karlberg <[email protected]>2012-07-25 08:46:36 +0200
committerMicael Karlberg <[email protected]>2012-07-25 08:46:36 +0200
commit5031e2277c1b1af83bde2d3990d2fc4ab3f119c5 (patch)
tree9055c030a9911f8240ca3eafd7d2e4511cd234ff
parent3f61f4daccc11658e838771b696c205fccac709e (diff)
downloadotp-5031e2277c1b1af83bde2d3990d2fc4ab3f119c5.tar.gz
otp-5031e2277c1b1af83bde2d3990d2fc4ab3f119c5.tar.bz2
otp-5031e2277c1b1af83bde2d3990d2fc4ab3f119c5.zip
Did not handle timeout reason when IPv6
-rw-r--r--lib/inets/test/inets_test_lib.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl
index e7c44391c7..0f8671b682 100644
--- a/lib/inets/test/inets_test_lib.erl
+++ b/lib/inets/test/inets_test_lib.erl
@@ -537,7 +537,8 @@ connect(ip_comm, Host, Port, Opts, Type) ->
{ok, Socket};
{error, Reason} when ((Type =:= inet6) andalso
- ((Reason =:= nxdomain) orelse
+ ((Reason =:= timeout) orelse
+ (Reason =:= nxdomain) orelse
(Reason =:= eafnosupport) orelse
(Reason =:= econnreset) orelse
(Reason =:= enetunreach) orelse