diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2017-08-01 14:34:43 +0800 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2017-08-02 15:02:31 +0800 |
commit | 7fae5f5c221f47e13808c382d1133dba25b5f8c0 (patch) | |
tree | 01123fa6c738004b5aa97c1e5ea7336ab7a1221f | |
parent | a668c58607b034ef0de471239598314f3a472c0a (diff) |
luci-app-shadowsocks-libev: add common flag ipv6_first
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
-rw-r--r-- | applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua | 2 |
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 4ba96b470..b11890f89 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", |