From 6f794c2e731bb10f1470a51ed5556c56542f79ed Mon Sep 17 00:00:00 2001 From: coolsnowwolf <31687149+coolsnowwolf@users.noreply.github.com> Date: Sun, 13 Aug 2023 03:58:24 +0800 Subject: [PATCH] Add "Disable ChinaDNS-NG" dns mode --- luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua index 99fee53dd..91d513036 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua @@ -116,6 +116,7 @@ o.datatype = "ip4addrport" if is_finded("chinadns-ng") then o = s:option(Value, "chinadns_forward", translate("Domestic DNS Server")) + o:value("", translate("Disable ChinaDNS-NG")) o:value("wan", translate("Use DNS from WAN")) o:value("wan_114", translate("Use DNS from WAN and 114DNS")) o:value("114.114.114.114:53", translate("Nanjing Xinfeng 114DNS (114.114.114.114)"))