From: Jo-Philipp Wich Date: Sun, 9 Oct 2011 22:36:13 +0000 (+0000) Subject: modules/admin-full: fix status reporting of inactive virtual interfaces X-Git-Tag: 0.11.0~1585 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=21b2f45d025a708c0ebceb8a22161e00b8af9a1e;p=oweals%2Fluci.git modules/admin-full: fix status reporting of inactive virtual interfaces --- 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 f80fb5e53..428c42fec 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) {