luci-app-shadowsocks-libev: remove option manager_address 1499/head
authorYousong Zhou <yszhou4tech@gmail.com>
Thu, 4 Jan 2018 06:38:40 +0000 (14:38 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Thu, 4 Jan 2018 06:47:27 +0000 (14:47 +0800)
It's an option that is supposed to be fed by ss-manager.  It can be
in the form of host:port or path to unix dgram socket.  Drop it now with
the assumption that it has no real user at the moment

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/instance-details.lua
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua

index 22f3106d031caac34f34404d6dd8c1560d4b68e7..19f5ddc319961b240fed9c3c0bd38dc0148b4888 100644 (file)
@@ -34,8 +34,6 @@ if stype == "ss_server" then
        o.datatype = "ipaddr"
        o.placeholder = "0.0.0.0"
        ss.values_ipaddr(o)
-       o = s:taboption("general", Value, "manager_address", translate("Manager address"))
-       o.datatype = "hostport"
 else
        ss.options_client(s, "general")
        if stype == "ss_tunnel" then
index 77efe047b489417447645f395d0efe74a521f41a..fc51dcd469e18492cd376f8837aa2ee099ae21a6 100644 (file)
@@ -139,7 +139,6 @@ function cfgvalue_overview(sdata)
                cfgvalue_overview_(sdata, lines, names_options_common)
                cfgvalue_overview_(sdata, lines, {
                        "bind_address",
-                       "manager_address",
                })
        elseif stype == "ss_local" or stype == "ss_redir" or stype == "ss_tunnel" then
                cfgvalue_overview_(sdata, lines, names_options_client)