Changeset 7678

Show
Ignore:
Timestamp:
10/09/11 23:36:13 (20 months ago)
Author:
jow
Message:

modules/admin-full: fix status reporting of inactive virtual interfaces

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • luci/trunk/modules/admin-full/luasrc/view/admin_network/iface_status.htm

    r7568 r7678  
    1515                        '<br /><small>%s</small>', 
    1616                            ifc.type, ifc.is_up ? '' : '_disabled', 
    17                             ifc.is_up ? ifc.ifname : '?' 
     17                            ifc.name 
    1818                    ); 
    1919 
    2020                var d = document.getElementById('<%=self.option%>-ifc-description'); 
    21                 if (d && ifc.ifname && ifc.macaddr != '00:00:00:00:00:00') 
     21                if (d && ifc.ifname) 
    2222                { 
    2323                    if (ifc.is_up)