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:
Adam Amstrong
2011-04-24 01:54:30 +00:00
parent d815471f29
commit 6a2b9bc711
+2 -2
View File
@@ -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>");
}
?>
?>