mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-10-26 19:52:51 +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
|
||||
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
|
||||
|
||||
local alpn = {}
|
||||
|
||||
Reference in new issue
Block a user