luci-base: utils: support multiple return values in util.ubus()
authorJo-Philipp Wich <jo@mein.io>
Thu, 26 Jul 2018 20:13:38 +0000 (22:13 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 28 Jul 2018 15:14:22 +0000 (17:14 +0200)
commit186228e3651e84151f10eff3e415f3e350d7b37f
treefbf9862953e8bf879c5c97e0d4f4261825567a63
parent58bd130a802bde95a270b9f1a47c98c3909f43b2
luci-base: utils: support multiple return values in util.ubus()

This is needed to deal with ubus methods that return multiple results,
e.g. session/list

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 9ead1e29a6404c5ba3a438a3f8a68b6a3dcaee3f)
modules/luci-base/luasrc/util.lua