luci: Xray wireguard kernelMode set false
This commit is contained in:
parent
c71368fa9d
commit
5d123c77c7
@ -248,6 +248,11 @@ function gen_outbound(flag, node, tag, proxy_table)
|
|||||||
reserved = (node.protocol == "wireguard" and node.wireguard_reserved) and node.wireguard_reserved or nil
|
reserved = (node.protocol == "wireguard" and node.wireguard_reserved) and node.wireguard_reserved or nil
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if node.protocol == "wireguard" then
|
||||||
|
result.settings.kernelMode = false
|
||||||
|
end
|
||||||
|
|
||||||
local alpn = {}
|
local alpn = {}
|
||||||
if node.alpn and node.alpn ~= "default" then
|
if node.alpn and node.alpn ~= "default" then
|
||||||
string.gsub(node.alpn, '[^' .. "," .. ']+', function(w)
|
string.gsub(node.alpn, '[^' .. "," .. ']+', function(w)
|
||||||
|
Loading…
Reference in New Issue
Block a user