luci-app-passwall: sync upstream

last commit: bfdb1f2fe7
This commit is contained in:
gitea-action 2024-09-21 11:30:09 +08:00
parent dfae995be3
commit e0ddce7a63

View File

@ -282,7 +282,7 @@ if has_xray then
o:value("xray", "Xray")
end
o = s:option(ListValue, "xray_dns_mode", " ")
o = s:option(ListValue, "xray_dns_mode", translate("Request protocol"))
o:value("tcp", "TCP")
o:value("tcp+doh", "TCP + DoH (" .. translate("A/AAAA type") .. ")")
o:depends("dns_mode", "xray")
@ -295,7 +295,7 @@ o.write = function(self, section, value)
end
end
o = s:option(ListValue, "singbox_dns_mode", " ")
o = s:option(ListValue, "singbox_dns_mode", translate("Request protocol"))
o:value("tcp", "TCP")
o:value("doh", "DoH")
o:depends("dns_mode", "sing-box")