mirror of https://github.com/XTLS/Xray-core
13 lines
197 B
Go
13 lines
197 B
Go
|
// +build !linux
|
||
|
|
||
|
package dokodemo
|
||
|
|
||
|
import (
|
||
|
"fmt"
|
||
|
"net"
|
||
|
)
|
||
|
|
||
|
func FakeUDP(addr *net.UDPAddr, mark int) (net.PacketConn, error) {
|
||
|
return nil, &net.OpError{Op: "fake", Err: fmt.Errorf("!linux")}
|
||
|
}
|