luci: Xray wireguard kernelMode set false

This commit is contained in:
xiaorouji 2024-02-26 21:11:05 +08:00 committed by sbwml
parent c71368fa9d
commit 5d123c77c7

View File

@ -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
}
}
if node.protocol == "wireguard" then
result.settings.kernelMode = false
end
local alpn = {}
if node.alpn and node.alpn ~= "default" then
string.gsub(node.alpn, '[^' .. "," .. ']+', function(w)