[erlang-questions] ip_v6_disabled cannot be set for ssh connection in OTP R15B01

William Yangzhuwei <>
Mon Jun 18 14:08:52 CEST 2012


Once I try to connect with ssh with ip_v6_disabled = true, like following

 ssh:connect("some hostname",2022,[{user,"user"},

I will got some error return



I have check the code of OTP,
These two lines looks strange.

handle_ssh_option({ip_v6_disabled, Value} = Opt) when is_function(Value) ->

Why it must be a function?

BTW, ip_v6_disabled = true works in R14B

Best Regards
//William YangZhuwei
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120618/da563eb7/attachment.html>

More information about the erlang-questions mailing list