Skip to content

Commit

Permalink
Update listen_reuseport.go
Browse files Browse the repository at this point in the history
  • Loading branch information
miekg authored Nov 11, 2023
1 parent 84cd8f8 commit 55b6711
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion listen_reuseport.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ func reuseaddrControl(network, address string, c syscall.RawConn) error {
return opErr
}

func listenTCP(network, addr string, reuseport bool, reuseaddr bool) (net.Listener, error) {
func listenTCP(network, addr string, reuseport, reuseaddr bool) (net.Listener, error) {
var lc net.ListenConfig
switch {
case reuseaddr && reuseport:
Expand Down

0 comments on commit 55b6711

Please sign in to comment.