Skip to content

Commit 3cc7ac2

Browse files
authored
Merge pull request #4160 from norio-nomura/portfwd-remove-SO_REUSEPORT
pkg/portfwd: Remove `SO_REUSEPORT`
2 parents 586e995 + 3d2517b commit 3cc7ac2

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

pkg/portfwd/control_others.go

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,6 @@ func Control(_, _ string, c syscall.RawConn) (err error) {
1717
if err != nil {
1818
return
1919
}
20-
21-
err = unix.SetsockoptInt(int(fd), unix.SOL_SOCKET, unix.SO_REUSEPORT, 1)
22-
if err != nil {
23-
return
24-
}
2520
})
2621
if controlErr != nil {
2722
err = controlErr

0 commit comments

Comments
 (0)