modules/admin-full: better handle interfaces with unsupported protocols
[project/luci.git] / modules / admin-full / luasrc / controller / admin / network.lua
index 9d9aab4..1e6892e 100644 (file)
@@ -269,6 +269,12 @@ function iface_status()
                        end
 
                        rv[#rv+1] = data
+               else
+                       rv[#rv+1] = {
+                               id   = iface,
+                               name = iface,
+                               type = "ethernet"
+                       }
                end
        end