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-02 10:05:49 +0300
committerGitHub <noreply@github.com>2017-08-02 10:05:49 +0300
commit317cfd0b4be78a68c0fb6695803feb32c2768d5d (patch)
tree01123fa6c738004b5aa97c1e5ea7336ab7a1221f /applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua
parentf438c1c1ab388396aa67ce3951d39ca159bbff0f (diff)
parent7fae5f5c221f47e13808c382d1133dba25b5f8c0 (diff)
Merge pull request #1273 from yousong/shadowsocks-libev
luci-app-shadowsocks-libev: add common flag ipv6_first
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.lua5
1 files changed, 2 insertions, 3 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 2753f458b5..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",
@@ -247,7 +249,4 @@ methods = {
"salsa20",
"chacha20",
"chacha20-ietf",
- "aes-128-gcm",
- "aes-192-gcm",
- "aes-256-gcm",
}