diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-09 22:36:13 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-10-09 22:36:13 +0000 |
commit | 21b2f45d025a708c0ebceb8a22161e00b8af9a1e (patch) | |
tree | 851dafffd54ff97467a820aa5224445ac110e2a0 /modules | |
parent | 9e8de5189d99ac977554e7344280de0ef8b966ec (diff) |
modules/admin-full: fix status reporting of inactive virtual interfaces
Diffstat (limited to 'modules')
-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) { |