Skip to content

Commit

Permalink
chore: fix gofmt error
Browse files Browse the repository at this point in the history
  • Loading branch information
chaitanyaprem committed Aug 17, 2023
1 parent 82f33be commit 2f2c5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion control_freebsd.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@ package reuseport

import (
"syscall"

"golang.org/x/sys/unix"
)


func Control(network, address string, c syscall.RawConn) (err error) {
controlErr := c.Control(func(fd uintptr) {
err = unix.SetsockoptInt(int(fd), unix.SOL_SOCKET, unix.SO_REUSEADDR, 1)
Expand Down

0 comments on commit 2f2c5e4

Please sign in to comment.