From 7fae5f5c221f47e13808c382d1133dba25b5f8c0 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Tue, 1 Aug 2017 14:34:43 +0800 Subject: [PATCH] luci-app-shadowsocks-libev: add common flag ipv6_first Signed-off-by: Yousong Zhou --- .../luasrc/model/shadowsocks-libev.lua | 2 ++ 1 file changed, 2 insertions(+) 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", -- 2.25.1