Skip to content

Commit

Permalink
fix: less confusing log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Stebalien committed Feb 21, 2020
1 parent cf38e56 commit ba298b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion p2p/net/reuseport/reuseport.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func reuseDial(ctx context.Context, laddr *net.TCPAddr, network, raddr string) (
if reuseErrShouldRetry(err) && ctx.Err() == nil {
// We could have an existing socket open or we could have one
// stuck in TIME-WAIT.
log.Debugf("failed to reuse port, dialing with a random port: %s", err)
log.Debugf("failed to reuse port, will try again with a random port: %s", err)
con, err = fallbackDialer.DialContext(ctx, network, raddr)
}
return con, err
Expand Down

0 comments on commit ba298b7

Please sign in to comment.