Skip to content

Commit

Permalink
fix panic when reuseport was no available
Browse files Browse the repository at this point in the history
  • Loading branch information
whyrusleeping committed Mar 24, 2017
1 parent 59530f2 commit 53da0c0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions p2p/transport/tcp/tcp.go
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ func (t *TcpTransport) newTcpDialer(base manet.Dialer, laddr ma.Multiaddr, doReu
return &tcpDialer{
doReuse: false,
laddr: laddr,
pattern: pattern,
madialer: base,
transport: t,
}, nil
Expand Down

0 comments on commit 53da0c0

Please sign in to comment.