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