Skip to content

Commit

Permalink
luci-app-shadowsocks-libev: fix cidr datatype
Browse files Browse the repository at this point in the history
* add a new 'cidr' alias datatype to fix #2671

Signed-off-by: Dirk Brenken <dev@brenken.org>
  • Loading branch information
dibdot committed Apr 23, 2019
1 parent 8d839dd commit a7ff2ca
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -24,7 +24,7 @@ end

function src_dst_option(s, ...)
local o = s:taboption(...)
o.datatype = "or(ipaddr,cidr)"
o.datatype = "or(ipaddr,cidr4,cidr6)"
end

s = m:section(NamedSection, "ss_rules", "ss_rules")
Expand Down

0 comments on commit a7ff2ca

Please sign in to comment.