From a668c58607b034ef0de471239598314f3a472c0a Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 1 Aug 2017 14:27:40 +0800 Subject: luci-app-shadowsocks-libev: remove redundant duplicate methods Signed-off-by: Yousong Zhou --- .../luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua | 3 --- 1 file changed, 3 deletions(-) (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model') 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 2753f458b5..4ba96b4709 100644 --- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua +++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua @@ -247,7 +247,4 @@ methods = { "salsa20", "chacha20", "chacha20-ietf", - "aes-128-gcm", - "aes-192-gcm", - "aes-256-gcm", } -- cgit v1.2.3 From 7fae5f5c221f47e13808c382d1133dba25b5f8c0 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 1 Aug 2017 14:34:43 +0800 Subject: luci-app-shadowsocks-libev: add common flag ipv6_first Signed-off-by: Yousong Zhou --- .../luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua | 2 ++ 1 file changed, 2 insertions(+) (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model') 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 4ba96b4709..b11890f89d 100644 --- a/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua +++ b/applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua @@ -108,6 +108,7 @@ function options_common(s, tab) s:taboption(tab, Value, "user", translate("Run as")) s:taboption(tab, Flag, "verbose", translate("Verbose")) + s:taboption(tab, Flag, "ipv6_first", translate("IPv6 First"), translate("Prefer IPv6 addresses when resolving names")) s:taboption(tab, Flag, "fast_open", translate("Enable TCP Fast Open")) s:taboption(tab, Flag, "reuse_port", translate("Enable SO_REUSEPORT")) end @@ -205,6 +206,7 @@ names_options_client = { names_options_common = { "verbose", + "ipv6_first", "fast_open", "reuse_port", "mode", -- cgit v1.2.3