diff options
author | Patrik Nyblom <[email protected]> | 2010-12-02 16:08:51 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-12-02 16:08:51 +0100 |
commit | 2a01369408762b651785083aad8d3778bfe30e71 (patch) | |
tree | f39c2e65175ef71b455c4a53c2af52f66e0627da /lib/inets/test | |
parent | c690c99dd434934a09f38b57d7598c8ecd1231eb (diff) | |
download | otp-2a01369408762b651785083aad8d3778bfe30e71.tar.gz otp-2a01369408762b651785083aad8d3778bfe30e71.tar.bz2 otp-2a01369408762b651785083aad8d3778bfe30e71.zip |
Teach inet_test_lib to understand enetunreach
Diffstat (limited to 'lib/inets/test')
-rw-r--r-- | lib/inets/test/inets_test_lib.erl | 3 |
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}; |