~rdoering/ubuntu/karmic/erlang/fix-535090

« back to all changes in this revision

Viewing changes to lib/kernel/src/inet_tcp_dist.erl

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2009-02-15 16:42:52 UTC
  • mfrom: (3.1.2 squeeze)
  • Revision ID: james.westby@ubuntu.com-20090215164252-q5x4rcf8a5pbesb1
Tags: 1:12.b.5-dfsg-2
Upload to unstable after lenny is released.

Show diffs side-by-side

added added

removed removed

Lines of Context:
62
62
%% ------------------------------------------------------------
63
63
 
64
64
listen(Name) ->
65
 
    case do_listen([{active, false}, {packet,2}]) of
 
65
    case do_listen([{active, false}, {packet,2}, {reuseaddr, true}]) of
66
66
        {ok, Socket} ->
67
67
            TcpAddress = get_tcp_address(Socket),
68
68
            {_,Port} = TcpAddress#net_address.address,