diff --git a/package/extra/luci-app-smartdns/luasrc/model/cbi/smartdns/smartdns.lua b/package/extra/luci-app-smartdns/luasrc/model/cbi/smartdns/smartdns.lua index f553dccaf..b273a2245 100644 --- a/package/extra/luci-app-smartdns/luasrc/model/cbi/smartdns/smartdns.lua +++ b/package/extra/luci-app-smartdns/luasrc/model/cbi/smartdns/smartdns.lua @@ -135,7 +135,7 @@ o = s:taboption("advanced", Flag, "tls_server", translate("DOT Server"), transla o.rmempty = false o.default = o.disabled o.cfgvalue = function(...) - return Flag.cfgvalue(...) or "1" + return Flag.cfgvalue(...) or "0" end o = s:taboption("advanced", Value, "tls_server_port", translate("DOT Server Port"), translate("Smartdns DOT server port.")) @@ -150,7 +150,7 @@ o = s:taboption("advanced", Flag, "doh_server", translate("DOH Server"), transla o.rmempty = false o.default = o.disabled o.cfgvalue = function(...) - return Flag.cfgvalue(...) or "1" + return Flag.cfgvalue(...) or "0" end o = s:taboption("advanced", Value, "doh_server_port", translate("DOH Server Port"), translate("Smartdns DOH server port.")) diff --git a/package/extra/smartdns/Makefile b/package/extra/smartdns/Makefile index 1d7740f10..851c40e4b 100644 --- a/package/extra/smartdns/Makefile +++ b/package/extra/smartdns/Makefile @@ -9,7 +9,7 @@ PKG_NAME:=smartdns PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://www.github.com/pymumu/smartdns.git -PKG_SOURCE_VERSION:=066c472467f9e50d716030477c70d5b5ac479ad6 +PKG_SOURCE_VERSION:=407aba08c5512a8e654864195e1d738f75527aa2 PKG_MIRROR_HASH:=skip PKG_RELEASE:=1