mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
format mac for ports list
git-svn-id: http://www.observium.org/svn/observer/trunk@2154 61d68cd4-352d-0410-923a-c4978735b2b8
This commit is contained in:
@@ -112,7 +112,7 @@ if ($port_adsl['adslLineCoding'])
|
||||
echo("<br />");
|
||||
if ($ifHardType && $ifHardType != "") { echo("<span class=box-desc>" . $ifHardType . "</span>"); } else { echo("-"); }
|
||||
echo("</td><td width=150>");
|
||||
if ($interface['ifPhysAddress'] && $interface['ifPhysAddress'] != "") { echo("<span class=box-desc>" . $interface['ifPhysAddress'] . "</span>"); } else { echo("-"); }
|
||||
if ($interface['ifPhysAddress'] && $interface['ifPhysAddress'] != "") { echo("<span class=box-desc>" . formatMac($interface['ifPhysAddress']) . "</span>"); } else { echo("-"); }
|
||||
echo("<br />");
|
||||
if ($interface['ifMtu'] && $interface['ifMtu'] != "") { echo("<span class=box-desc>MTU " . $interface['ifMtu'] . "</span>"); } else { echo("-"); }
|
||||
}
|
||||
@@ -269,4 +269,4 @@ if ($graph_type && is_file($graph_file))
|
||||
echo("</td></tr>");
|
||||
}
|
||||
|
||||
?>
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user