From 9c97cdb7b6edcc62d29a72ca64cd682503e693f6 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Tue, 18 Oct 2011 13:20:43 +0000 Subject: modules/admin-full: better handle interfaces with unsupported protocols --- modules/admin-full/luasrc/controller/admin/network.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'modules/admin-full/luasrc/controller/admin') diff --git a/modules/admin-full/luasrc/controller/admin/network.lua b/modules/admin-full/luasrc/controller/admin/network.lua index 9d9aab4a2c..1e6892e16e 100644 --- a/modules/admin-full/luasrc/controller/admin/network.lua +++ b/modules/admin-full/luasrc/controller/admin/network.lua @@ -269,6 +269,12 @@ function iface_status() end rv[#rv+1] = data + else + rv[#rv+1] = { + id = iface, + name = iface, + type = "ethernet" + } end end -- cgit v1.2.3