From 521e396be6c482e4638a6fadd0a34ba3e86a94b3 Mon Sep 17 00:00:00 2001 From: coolsnowwolf <31687149+coolsnowwolf@users.noreply.github.com> Date: Mon, 14 Oct 2024 03:45:26 +0800 Subject: [PATCH] luci-app-ssr-plus: disable IPv6 in MOSDNS query mode by default --- luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 3b91739dc32..26de9baa40f 100644 --- a/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua +++ b/luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua @@ -134,7 +134,7 @@ o.description = translate("Custom DNS Server for mosdns") o = s:option(Flag, "mosdns_ipv6", translate("Disable IPv6 in MOSDNS query mode")) o:depends("pdnsd_enable", "3") o.rmempty = false -o.default = "0" +o.default = "1" if is_finded("chinadns-ng") then o = s:option(Value, "chinadns_forward", translate("Domestic DNS Server"))