Xray-core/proxy/wireguard/tun_default.go
2024-10-15 03:30:29 +00:00

17 lines
308 B
Go

//go:build !linux || android
package wireguard
import (
"errors"
"net/netip"
)
func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousModeHandler) (t Tunnel, err error) {
return nil, errors.New("not implemented")
}
func KernelTunSupported() (bool, error) {
return false, nil
}