mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-31 04:35:13 +08:00
update 2026-05-30 14:42:30
This commit is contained in:
1 parent
794fc77676
commit
e8ea1d3387
1 file changed
+7
@@ -413,6 +413,13 @@ function gen_outbound(flag, node, tag, proxy_table)
|
|||||||
|
|
||||||
if node.protocol == "wireguard" then
|
if node.protocol == "wireguard" then
|
||||||
result.settings.kernelMode = false
|
result.settings.kernelMode = false
|
||||||
|
if node.finalmask and node.finalmask ~= "" then
|
||||||
|
local ok, fm = pcall(jsonc.parse, api.base64Decode(node.finalmask))
|
||||||
|
if ok and type(fm) == "table" then
|
||||||
|
result.streamSettings = result.streamSettings or {}
|
||||||
|
result.streamSettings.finalmask = fm
|
||||||
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
local alpn = {}
|
local alpn = {}
|
||||||
|
|||||||
Reference in new issue
Block a user