summaryrefslogtreecommitdiffhomepage
path: root/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
diff options
context:
space:
mode:
authorHannu Nyman <hannu.nyman@iki.fi>2017-08-04 17:33:15 +0300
committerGitHub <noreply@github.com>2017-08-04 17:33:15 +0300
commitd082ed964bc85ad87203d6564394258cb096365a (patch)
treeb8e3d452dd8c6c89952ee4e4f4aa1786ec8b9706 /applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
parentaf8e2c6d171a4cf9c1c97b028fbcad0e110f7dbb (diff)
parent5d916835752f83c53528cada375e3dd57c693483 (diff)
Merge pull request #1278 from yousong/shadowsocks-libev
luci-app-shadowsocks-libev: support ss_redir disable_sni option
Diffstat (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua')
-rw-r--r--applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua2
1 files changed, 2 insertions, 0 deletions
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 b11890f89d..63f7ba3c25 100644
--- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
+++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
@@ -132,6 +132,8 @@ 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