From 6a2b9bc7115222b25f32d1373fb79c8b944a1c13 Mon Sep 17 00:00:00 2001 From: Adam Amstrong Date: Sun, 24 Apr 2011 01:54:30 +0000 Subject: [PATCH] format mac for ports list git-svn-id: http://www.observium.org/svn/observer/trunk@2154 61d68cd4-352d-0410-923a-c4978735b2b8 --- html/includes/print-interface.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/print-interface.inc.php b/html/includes/print-interface.inc.php index fb55f1651e..dddc91d9ab 100644 --- a/html/includes/print-interface.inc.php +++ b/html/includes/print-interface.inc.php @@ -112,7 +112,7 @@ if ($port_adsl['adslLineCoding']) echo("
"); if ($ifHardType && $ifHardType != "") { echo("" . $ifHardType . ""); } else { echo("-"); } echo(""); - if ($interface['ifPhysAddress'] && $interface['ifPhysAddress'] != "") { echo("" . $interface['ifPhysAddress'] . ""); } else { echo("-"); } + if ($interface['ifPhysAddress'] && $interface['ifPhysAddress'] != "") { echo("" . formatMac($interface['ifPhysAddress']) . ""); } else { echo("-"); } echo("
"); if ($interface['ifMtu'] && $interface['ifMtu'] != "") { echo("MTU " . $interface['ifMtu'] . ""); } else { echo("-"); } } @@ -269,4 +269,4 @@ if ($graph_type && is_file($graph_file)) echo(""); } -?> \ No newline at end of file +?>