mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-25 06:36:05 +03:00
14 lines
215 B
Go
14 lines
215 B
Go
//go:build !linux
|
|
// +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")}
|
|
}
|