mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-06-16 13:27:16 +03:00
WireGuard kernelTun: Check Capabilities instead of checking UID (#3871)
https://github.com/XTLS/Xray-core/pull/3871#issuecomment-2412820323 --------- Co-authored-by: RPRX <63339210+RPRX@users.noreply.github.com>
This commit is contained in:
@ -11,6 +11,6 @@ func createKernelTun(localAddresses []netip.Addr, mtu int, handler promiscuousMo
|
||||
return nil, errors.New("not implemented")
|
||||
}
|
||||
|
||||
func KernelTunSupported() bool {
|
||||
return false
|
||||
func KernelTunSupported() (bool, error) {
|
||||
return false, nil
|
||||
}
|
||||
|
Reference in New Issue
Block a user