Skip to content

Commit

Permalink
luci-app-ssr-plus: disable IPv6 in MOSDNS query mode by default
Browse files Browse the repository at this point in the history
  • Loading branch information
coolsnowwolf authored Oct 13, 2024
1 parent 746bde7 commit 521e396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luci-app-ssr-plus/luasrc/model/cbi/shadowsocksr/client.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"))
Expand Down

0 comments on commit 521e396

Please sign in to comment.