mirror of
https://github.com/caiwx86/small-packages.git
synced 2026-11-04 08:03:56 +08:00
update 2026-08-08 16:33:49
This commit is contained in:
1 parent
d76a25e5cf
commit
74e7dc08d2
22 files changed
+794
-131
No files matched your search
@@ -619,7 +619,7 @@ function add_rule(var)
|
||||
local default_node_id = t["default_node"] or "_direct"
|
||||
uci:foreach(appname, "shunt_rules", function(s)
|
||||
local _node_id = t[s[".name"]]
|
||||
if _node_id and _node_id ~= "_blackhole" then
|
||||
if _node_id and _node_id ~= "_blackhole" and t["shunt_group"] == s.group then
|
||||
if _node_id == "_default" then
|
||||
_node_id = default_node_id
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user