luci-app-passwall2: sync upstream

last commit: c9b476b75d
This commit is contained in:
gitea-action 2024-12-31 01:00:18 +08:00
parent abec77a2c5
commit 90942b8f22
2 changed files with 4 additions and 1 deletions

View File

@ -279,6 +279,9 @@ o = s:option(Value, "remote_dns_client_ip", translate("Remote DNS EDNS Client Su
o.description = translate("Notify the DNS server when the DNS query is notified, the location of the client (cannot be a private IP address).") .. "<br />" ..
translate("This feature requires the DNS server to support the Edns Client Subnet (RFC7871).")
o.datatype = "ipaddr"
o:depends("remote_dns_protocol", "tcp")
o:depends("remote_dns_protocol", "doh")
o:depends("remote_dns_protocol", "udp")
o = s:option(ListValue, "remote_dns_detour", translate("Remote DNS Outbound"))
o.default = "remote"

View File

@ -66,7 +66,7 @@ end
m:append(Template(appname .. "/global/status"))
local global_cfgid = m:get("@global[0]")[".name"]
s = m:section(NamedSection, global_cfgid)
s = m:section(TypedSection, "global")
s.anonymous = true
s.addremove = false