From 89871705e29602b064d4cecf5ca9429d83fbd0cf Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Sun, 17 Nov 2019 11:14:48 +0800 Subject: [PATCH] luci-app-passwall: fix ChinaDNS pkg_name --- .../luci-app-passwall/luasrc/model/cbi/passwall/global.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua index 4c97f89b10..5678eaa808 100644 --- a/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua +++ b/package/lienol/luci-app-passwall/luasrc/model/cbi/passwall/global.lua @@ -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