mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-09-15 22:10:26 +00:00
https://github.com/XTLS/Xray-core/pull/6546#issuecomment-5100711574
14 lines
236 B
Go
14 lines
236 B
Go
//go:build !linux && !openbsd
|
|
// +build !linux,!openbsd
|
|
|
|
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")}
|
|
}
|