Xray-core/proxy/dokodemo/fakeudp_other.go

13 lines
197 B
Go
Raw Permalink Normal View History

// +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")}
}