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:
1 parent
6a70ae6408
commit
19f3f709b2
3 files changed
+27
-11
No files matched your search
@@ -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