git.99rst.org
/
openwrt-luci.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
| inline |
side by side
(parent:
9e8de51
)
modules/admin-full: fix status reporting of inactive virtual interfaces
author
Jo-Philipp Wich
<redacted>
Sun, 9 Oct 2011 22:36:13 +0000
(22:36 +0000)
committer
Jo-Philipp Wich
<redacted>
Sun, 9 Oct 2011 22:36:13 +0000
(22:36 +0000)
modules/admin-full/luasrc/view/admin_network/iface_status.htm
patch
|
blob
|
history
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 f80fb5e53711747525ccf282c050baaebbe1f2d0..428c42fec9ede44925210d848695ac7f6de43cc0 100644
(file)
--- 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)
{
git clone https://git.99rst.org/PROJECT