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 576b2ef585051752d979fdabb152399acf80c4e8..9cd7c87c0c2904c42698ad81fa426b75b6bf1031 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