shadowsocks-libev: fix enumerating server and ss_redir sections
authorYousong Zhou <yszhou4tech@gmail.com>
Mon, 28 May 2018 03:01:51 +0000 (11:01 +0800)
committerYousong Zhou <yszhou4tech@gmail.com>
Mon, 28 May 2018 03:13:15 +0000 (11:13 +0800)
commit402ad57e550140d28697b5701dc48b6b9c714c2d
tree0dc68cd86a3f5ab2977b5d691ec294b897bceb1d
parent6f630b5e66ffe73a294368748d5dc8068e043e0b
shadowsocks-libev: fix enumerating server and ss_redir sections

The issue existed since the first revision of the rewrite and was
exposed by commit 4024d4f (luci-base: switch to ubus uci operations)

A quick scan of the current repo indicates that these are the only sites
of wrong call pattern

Fixes openwrt/packages#6113

Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
applications/luci-app-shadowsocks-libev/luasrc/model/shadowsocks-libev.lua