mirror of
https://github.com/XTLS/Xray-core.git
synced 2024-11-05 06:33:02 +00:00
19f3f709b2
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2412820323 --------- Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
17 lines
308 B
Go
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
|
|
}
|