mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 09:03:56 +08:00
update 2026-09-02 23:49:44
This commit is contained in:
1 parent
86b8972e8e
commit
beae9d285e
1991 files changed
+1523711
-147
No files matched your search
@@ -510,7 +510,7 @@ local function fetch_rule(rule_name, rule_type, url, exclude_domain, max_retries
|
||||
local set_name = "psw_" .. rule_name
|
||||
if rule_name == "chnroute" then set_name = "psw_chn"
|
||||
elseif rule_name == "chnroute6" then set_name = "psw_chn6" end
|
||||
|
||||
|
||||
local addr_type = (rule_type == "ip4") and "ipv4_addr" or "ipv6_addr"
|
||||
gen_cache(set_name, addr_type, file_tmp, nft_file)
|
||||
os.execute(string.format("mv -f %s %s.nft", nft_file, rule_final_path))
|
||||
|
||||
Reference in new issue
Block a user