From 2a01369408762b651785083aad8d3778bfe30e71 Mon Sep 17 00:00:00 2001 From: Patrik Nyblom Date: Thu, 2 Dec 2010 16:08:51 +0100 Subject: Teach inet_test_lib to understand enetunreach --- lib/inets/test/inets_test_lib.erl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'lib') 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}; -- cgit v1.2.3