Drop the socket mark helper left without callers

This commit is contained in:
Viktor Liu
2026-08-26 15:38:08 +02:00
parent 838640ea2a
commit 3f20ec01fb

View File

@@ -21,15 +21,6 @@ func SetSocketMark(conn syscall.Conn) error {
return setRawSocketMark(sysconn)
}
// SetSocketOpt sets the SO_MARK option on the given file descriptor
func SetSocketOpt(fd int) error {
if !AdvancedRouting() {
return nil
}
return setSocketOptInt(fd)
}
func setRawSocketMark(conn syscall.RawConn) error {
var setErr error