luci-base: eliminate use of uci state vars in luci.model.network
authorJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Nov 2015 16:35:02 +0000 (17:35 +0100)
committerJo-Philipp Wich <jow@openwrt.org>
Tue, 17 Nov 2015 16:35:02 +0000 (17:35 +0100)
commite626599c261e1795f49bbe59b0476fd5496bf079
tree4403c26044e9ddd8c7f5dba31f0153604205b33d
parent9b176c8d7bd2a635cd5a3a3bdce3149247e66392
luci-base: eliminate use of uci state vars in luci.model.network

Also implement :ipaddrs() and :ip6addrs() helper for network instances.

Signed-off-by: Jo-Philipp Wich <jow@openwrt.org>
modules/luci-base/luasrc/model/network.lua