aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-12-02 16:08:51 +0100
committerPatrik Nyblom <[email protected]>2010-12-02 16:08:51 +0100
commit2a01369408762b651785083aad8d3778bfe30e71 (patch)
treef39c2e65175ef71b455c4a53c2af52f66e0627da
parentc690c99dd434934a09f38b57d7598c8ecd1231eb (diff)
downloadotp-2a01369408762b651785083aad8d3778bfe30e71.tar.gz
otp-2a01369408762b651785083aad8d3778bfe30e71.tar.bz2
otp-2a01369408762b651785083aad8d3778bfe30e71.zip
Teach inet_test_lib to understand enetunreach
-rw-r--r--lib/inets/test/inets_test_lib.erl3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/inets/test/inets_test_lib.erl b/lib/inets/test/inets_test_lib.erl
index 86fc2d1a32..c56a714f5a 100644
--- a/lib/inets/test/inets_test_lib.erl
+++ b/lib/inets/test/inets_test_lib.erl
@@ -329,6 +329,9 @@ connect(ip_comm, Host, Port, Opts) ->
{error, eafnosupport} ->
tsp("eafnosupport opts: ~p", [Opts]),
connect(ip_comm, Host, Port, lists:delete(inet6, Opts));
+ {error, enetunreach} ->
+ tsp("eafnosupport opts: ~p", [Opts]),
+ connect(ip_comm, Host, Port, lists:delete(inet6, Opts));
{error, {enfile,_}} ->
tsp("Error enfile"),
{error, enfile};