luci-app-shadowsocks-libev: ss_rules: allow ip6 in src_dst_option()

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
This commit is contained in:
Yousong Zhou 2019-01-21 02:00:06 +00:00
parent 68d3351d36
commit a86c068870

View file

@ -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")