From a86c068870dea59844a282ca43885ef4fcbfa07f Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Mon, 21 Jan 2019 02:00:06 +0000 Subject: luci-app-shadowsocks-libev: ss_rules: allow ip6 in src_dst_option() Signed-off-by: Yousong Zhou --- .../luasrc/model/cbi/shadowsocks-libev/rules.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua') diff --git a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua index 553b297ac..e4d1a2745 100644 --- a/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua +++ b/applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua @@ -24,7 +24,7 @@ end function src_dst_option(s, ...) local o = s:taboption(...) - o.datatype = "or(ip4addr,cidr4)" + o.datatype = "or(ipaddr,cidr)" end s = m:section(NamedSection, "ss_rules", "ss_rules") -- cgit v1.2.3