luci-base: fix syntax error in luci.model.network
authorJo-Philipp Wich <jo@mein.io>
Tue, 26 Apr 2016 19:02:51 +0000 (21:02 +0200)
committerJo-Philipp Wich <jo@mein.io>
Tue, 26 Apr 2016 19:02:51 +0000 (21:02 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
modules/luci-base/luasrc/model/network.lua

index 576b2ef..9cd7c87 100644 (file)
@@ -508,7 +508,7 @@ function get_interfaces(self)
                end)
 
        for iface in utl.kspairs(_interfaces) do
-               if not (seen[iface] or (_iface_ignore(iface) or _iface_virtual(iface) or _wifi_iface(iface)) then
+               if not (seen[iface] or _iface_ignore(iface) or _iface_virtual(iface) or _wifi_iface(iface)) then
                        nfs[iface] = interface(iface)
                end
        end