Skip to content

Commit aad4662

Browse files
committed
chore(netstack): remove unused ForwardTCPSockOpts
1 parent 626198d commit aad4662

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

wgengine/netstack/netstack.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -105,10 +105,6 @@ type Impl struct {
105105
// over the UDP flow.
106106
GetUDPHandlerForFlow func(src, dst netip.AddrPort) (handler func(nettype.ConnPacketConn), intercept bool)
107107

108-
// ForwardTCPSockOpts, if non-nil, allows setting gvisor socket options on the
109-
// created TCPConn before calling ForwardTCPIn.
110-
ForwardTCPSockOpts func(port uint16) []tcpip.SettableSocketOption
111-
112108
// ProcessLocalIPs is whether netstack should handle incoming
113109
// traffic directed at the Node.Addresses (local IPs).
114110
// It can only be set before calling Start.

0 commit comments

Comments
 (0)