luci-app-passwall: sync upstream

last commit: f39fa46c41
This commit is contained in:
gitea-action 2025-02-04 16:00:25 +08:00
parent 202df769dd
commit 24a41ffe00

View File

@ -216,7 +216,7 @@ if DEFAULT_DNS_GROUP then
local domain_rules_str = "domain-rules /./ -nameserver " .. DEFAULT_DNS_GROUP local domain_rules_str = "domain-rules /./ -nameserver " .. DEFAULT_DNS_GROUP
if DEFAULT_DNS_GROUP == REMOTE_GROUP then if DEFAULT_DNS_GROUP == REMOTE_GROUP then
domain_rules_str = domain_rules_str .. " -speed-check-mode none -d no -no-serve-expired" domain_rules_str = domain_rules_str .. " -speed-check-mode none -d no -no-serve-expired"
if NO_PROXY_IPV6 == "1" and only_global == 1 and uci:get(appname, TCP_NODE, "protocol") ~= "_shunt" then if NO_PROXY_IPV6 == "1" then
domain_rules_str = domain_rules_str .. " -address #6" domain_rules_str = domain_rules_str .. " -address #6"
end end
elseif DEFAULT_DNS_GROUP == LOCAL_GROUP then elseif DEFAULT_DNS_GROUP == LOCAL_GROUP then