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:
parent
68d3351d36
commit
a86c068870
1 changed files with 1 additions and 1 deletions
|
@ -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")
|
||||
|
|
Loading…
Reference in a new issue