luci-app-passwall: fix ChinaDNS pkg_name

This commit is contained in:
CN_SZTL 2019-11-17 11:14:48 +08:00
parent cdc66ef655
commit 89871705e2
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -102,7 +102,7 @@ end
o = s:option(ListValue, "dns_mode", translate("DNS Forward Mode"))
o.rmempty = false
o:reset_values()
if is_installed("ChinaDNS") or is_finded("chinadns") then
if is_installed("openwrt_chinadns") or is_finded("chinadns") then
o:value("chinadns", "ChinaDNS")
end
if is_installed("dns2socks") or is_finded("dns2socks") then