libs/web: network widget fixes
[project/luci.git] / libs / web / luasrc / view / cbi / network_ifacelist.htm
index 76ea74aca52756542342531b1c00ab0ade459e4e..a6565eb9f593cbe4a0c804e64ca72f2540812374 100644 (file)
@@ -25,7 +25,7 @@
                local n = self.network and net:get_network(self.network)
                if n then
                        local i
-                       for _, i in ipairs(n:is_bridge() and n:get_interfaces() or { n:get_interface() }) do
+                       for _, i in ipairs(n:get_interfaces() or { n:get_interface() }) do
                                checked[i:name()] = true
                        end
                end