From 60d0fc856e5591d6844285dd3e60eb6468d395d3 Mon Sep 17 00:00:00 2001 From: Nick Peng Date: Sun, 3 May 2020 23:32:49 +0800 Subject: [PATCH] luci-compate: fix typo --- .../luci-compat/files/luci/model/cbi/smartdns/upstream.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/luci-compat/files/luci/model/cbi/smartdns/upstream.lua b/package/luci-compat/files/luci/model/cbi/smartdns/upstream.lua index f54ae23..1bb612f 100644 --- a/package/luci-compat/files/luci/model/cbi/smartdns/upstream.lua +++ b/package/luci-compat/files/luci/model/cbi/smartdns/upstream.lua @@ -85,8 +85,8 @@ o.default = o.disabled o.cfgvalue = function(...) return Flag.cfgvalue(...) or "0" end -o.depends("type", "tls") -o.depends("type", "https") +o:depends("type", "tls") +o:depends("type", "https") ---- SNI host name o = s:option(Value, "host_name", translate("TLS SNI name"), translate("Sets the server name indication for query."))