mirror of
https://github.com/XTLS/Xray-core.git
synced 2026-06-25 14:33:18 +00:00
862631172d
And https://github.com/XTLS/Xray-core/pull/6303#issuecomment-4669158076 Fixes https://github.com/XTLS/Xray-core/issues/6257
19 lines
318 B
Go
19 lines
318 B
Go
//go:build !linux
|
|
|
|
package wireguard
|
|
|
|
import (
|
|
"errors"
|
|
"net/netip"
|
|
|
|
"golang.zx2c4.com/wireguard/tun"
|
|
)
|
|
|
|
func createKernelTun([]netip.Addr, []netip.Addr, int) (tdev tun.Device, tnet *Net, err error) {
|
|
return nil, nil, errors.New("not implemented")
|
|
}
|
|
|
|
func KernelTunSupported() (bool, error) {
|
|
return false, nil
|
|
}
|