diff options
Diffstat (limited to 'modules/admin-full')
-rw-r--r-- | modules/admin-full/luasrc/view/admin_network/iface_status.htm | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ '<img src="<%=resource%>/icons/%s%s.png" style="width:16px; height:16px" />' + '<br /><small>%s</small>', 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) { |