diff options
author | Yousong Zhou <yszhou4tech@gmail.com> | 2019-01-21 02:00:06 +0000 |
---|---|---|
committer | Yousong Zhou <yszhou4tech@gmail.com> | 2019-01-21 07:20:02 +0000 |
commit | a86c068870dea59844a282ca43885ef4fcbfa07f (patch) | |
tree | 7965a3bae5fd779babaa936e762309fb1a0b365e /applications | |
parent | 68d3351d36752cd111ea7059505fc9dfc71d32fb (diff) |
luci-app-shadowsocks-libev: ss_rules: allow ip6 in src_dst_option()
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
Diffstat (limited to 'applications')
-rw-r--r-- | applications/luci-app-shadowsocks-libev/luasrc/model/cbi/shadowsocks-libev/rules.lua | 2 |
1 files changed, 1 insertions, 1 deletions
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 553b297ac0..e4d1a2745e 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") |