mirror of
https://gitclone.com/github.com/MetaCubeX/Clash.Meta
synced 2024-11-15 21:51:23 +08:00
17 lines
319 B
Go
17 lines
319 B
Go
|
// +build !linux
|
||
|
|
||
|
package redir
|
||
|
|
||
|
import (
|
||
|
"errors"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
func setsockopt(c *net.UDPConn, addr string) error {
|
||
|
return errors.New("UDP redir not supported on current platform")
|
||
|
}
|
||
|
|
||
|
func getOrigDst(oob []byte, oobn int) (*net.UDPAddr, error) {
|
||
|
return nil, errors.New("UDP redir not supported on current platform")
|
||
|
}
|