aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ssh/src/ssh.erl
diff options
context:
space:
mode:
authorFredrik Gustafsson <[email protected]>2012-11-20 14:31:15 +0100
committerFredrik Gustafsson <[email protected]>2012-11-20 14:31:15 +0100
commitb4518a88c913b54f8a0bfbd93c3ceadfb73a9fe7 (patch)
tree64c5c2d1a25aeac298efdb1f036fd6426688ff8d /lib/ssh/src/ssh.erl
parent41d6a59fb11c65da9edcf97551b19cbdbf00646f (diff)
downloadotp-b4518a88c913b54f8a0bfbd93c3ceadfb73a9fe7.tar.gz
otp-b4518a88c913b54f8a0bfbd93c3ceadfb73a9fe7.tar.bz2
otp-b4518a88c913b54f8a0bfbd93c3ceadfb73a9fe7.zip
Removed ip options to gen_tcp from ssh.erl
Diffstat (limited to 'lib/ssh/src/ssh.erl')
-rw-r--r--lib/ssh/src/ssh.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh.erl b/lib/ssh/src/ssh.erl
index 7d68b1d7bd..b88738449f 100644
--- a/lib/ssh/src/ssh.erl
+++ b/lib/ssh/src/ssh.erl
@@ -463,7 +463,7 @@ check_pref_algs([H|T]) ->
inetopt(true) ->
inet;
inetopt(false) ->
- case gen_tcp:listen(0, [inet6, {ip, loopback}]) of
+ case gen_tcp:listen(0, [inet6]) of
{ok, Dummyport} ->
gen_tcp:close(Dummyport),
inet6;