From 21b2f45d025a708c0ebceb8a22161e00b8af9a1e Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Sun, 9 Oct 2011 22:36:13 +0000 Subject: modules/admin-full: fix status reporting of inactive virtual interfaces --- modules/admin-full/luasrc/view/admin_network/iface_status.htm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/admin-full/luasrc/view') diff --git a/modules/admin-full/luasrc/view/admin_network/iface_status.htm b/modules/admin-full/luasrc/view/admin_network/iface_status.htm index f80fb5e537..428c42fec9 100644 --- a/modules/admin-full/luasrc/view/admin_network/iface_status.htm +++ b/modules/admin-full/luasrc/view/admin_network/iface_status.htm @@ -14,11 +14,11 @@ '' + '
%s', ifc.type, ifc.is_up ? '' : '_disabled', - ifc.is_up ? ifc.ifname : '?' + ifc.name ); var d = document.getElementById('<%=self.option%>-ifc-description'); - if (d && ifc.ifname && ifc.macaddr != '00:00:00:00:00:00') + if (d && ifc.ifname) { if (ifc.is_up) { -- cgit v1.2.3