From 770033dba3693c36a30022047a21a02264d9a5dd Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 5 Feb 2018 11:04:25 +0800 Subject: luci-app-shadowsocks-libev: remove deprecated option disable_sni This reverts commit 5d916835752f83c53528cada375e3dd57c693483. Signed-off-by: Yousong Zhou --- .../luasrc/model/cbi/shadowsocks-libev/instance-details.lua | 4 ---- .../luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua | 2 -- 2 files changed, 6 deletions(-) diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua index 19f5ddc319..195a31f2fd 100644 --- a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua +++ b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua @@ -41,10 +41,6 @@ else translate("Tunnel address"), translate("The address ss-tunnel will forward traffic to")) o.datatype = "hostport" - elseif stype == "ss_redir" then - o = s:taboption("advanced", Flag, "disable_sni", - translate("Disable SNI"), - translate("Disable parsing HTTP/HTTPS payload to find then resolve hostname at remote server")) end end diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua index 67fd4330aa..af1a75b6f2 100644 --- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua +++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua @@ -144,8 +144,6 @@ function cfgvalue_overview(sdata) cfgvalue_overview_(sdata, lines, names_options_client) if stype == "ss_tunnel" then cfgvalue_overview_(sdata, lines, {"tunnel_address"}) - elseif stype == "ss_redir" then - cfgvalue_overview_(sdata, lines, {"disable_sni"}) end cfgvalue_overview_(sdata, lines, names_options_common) else -- cgit v1.2.3