mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 16:55:13 +08:00
💋 Sync 2026-04-30 20:35:45
This commit is contained in:
1 parent
29a6301072
commit
c3be31004c
21 files changed
+1273
-151
No files matched your search
@@ -1940,11 +1940,12 @@ local function update_node(manual)
|
||||
end
|
||||
end
|
||||
if domain_strategy then
|
||||
local ds = domain_strategy
|
||||
if vvv == "sing-box" then
|
||||
local map = { UseIPv4v6 = "prefer_ipv4", UseIPv6v4 = "prefer_ipv6", UseIPv4 = "ipv4_only", UseIPv6 = "ipv6_only" }
|
||||
domain_strategy = map[domain_strategy] or ""
|
||||
ds = map[ds] or ""
|
||||
end
|
||||
uci:set(appname, cfgid, "domain_strategy", domain_strategy)
|
||||
uci:set(appname, cfgid, "domain_strategy", ds)
|
||||
end
|
||||
end
|
||||
-- 订阅组链式代理
|
||||
|
||||
Reference in new issue
Block a user