aboutsummaryrefslogtreecommitdiffstats
path: root/lib/orber/src/orber_iiop_outproxy.erl
diff options
context:
space:
mode:
Diffstat (limited to 'lib/orber/src/orber_iiop_outproxy.erl')
-rw-r--r--lib/orber/src/orber_iiop_outproxy.erl8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/orber/src/orber_iiop_outproxy.erl b/lib/orber/src/orber_iiop_outproxy.erl
index 89a3d4fde0..4ba5b05995 100644
--- a/lib/orber/src/orber_iiop_outproxy.erl
+++ b/lib/orber/src/orber_iiop_outproxy.erl
@@ -513,7 +513,7 @@ get_ip_family_opts(Host) ->
{ok, {_,_,_,_}} ->
[inet];
{ok, {_,_,_,_,_,_,_,_}} ->
- [inet6, {ipv6_v6only, true}];
+ [inet6];
{error, einval} ->
check_family_for_name(Host, orber_env:ip_version())
end.
@@ -525,7 +525,7 @@ check_family_for_name(Host, inet) ->
{error, _} ->
case inet:getaddrs(Host, inet6) of
{ok, _Address} ->
- [inet6, {ipv6_v6only, true}];
+ [inet6];
{error, _} ->
[inet]
end
@@ -533,13 +533,13 @@ check_family_for_name(Host, inet) ->
check_family_for_name(Host, inet6) ->
case inet:getaddr(Host, inet6) of
{ok, _Address} ->
- [inet6, {ipv6_v6only, true}];
+ [inet6];
{error, _} ->
case inet:getaddr(Host, inet) of
{ok, _Address} ->
[inet];
{error, _} ->
- [inet6, {ipv6_v6only, true}]
+ [inet6]
end
end.