luci-base: fix luci.model.network.ignore_interface()
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Apr 2016 18:54:52 +0000 (20:54 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Apr 2016 19:01:18 +0000 (21:01 +0200)
commit4983a9b034ac3f7c9f4f228110e622d900d6198d
tree4119e48e4f2a87b48ee52ae0a8c7d416cb3846bd
parent91511033564929af41fa1f57bccde7fbcb7f5620
luci-base: fix luci.model.network.ignore_interface()

Fix the underlying _iface_ignore() function to not ignore virtual interfaces,
in order to let ignore_interface() return true for PPP and similar devices.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/model/network.lua