Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
git-svn-id: http://mochiweb.googlecode.com/svn/trunk@135 583d1f64-3c3e-0410-8459-0f15fcd77d59
  • Loading branch information
bob.ippolito committed Jan 19, 2010
1 parent ae4464d commit 25367c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mochiweb_socket_server.erl
Expand Up @@ -116,7 +116,7 @@ init(State=#mochiweb_socket_server{ip=Ip, port=Port, backlog=Backlog}) ->
Opts = case Ip of
any ->
case ipv6_supported() of % IPv4, and IPv6 if supported
true -> [inet6 | BaseOpts];
true -> [inet, inet6 | BaseOpts];
_ -> BaseOpts
end;
{_, _, _, _} -> % IPv4
Expand Down

0 comments on commit 25367c0

Please sign in to comment.