Index: html/includes/print/status.inc.php
===================================================================
--- html/includes/print/status.inc.php	(revision 5957)
+++ html/includes/print/status.inc.php	(working copy)
@@ -113,7 +113,7 @@
     if ($status['links'] && !$status['ports']) { $query .= ' AND L.`active` = 1 '; }
     $query .= $query_port_permitted;
     $query .= ' AND I.`ifLastChange` >= DATE_SUB(NOW(), INTERVAL '.$max_interval.' HOUR) ';
-    $query .= 'ORDER BY I.`ifLastChange` DESC, D.`hostname` ASC, I.`ifDescr` * 1 ASC ';
+    $query .= 'GROUP BY L.`local_port_id` ORDER BY I.`ifLastChange` DESC, D.`hostname` ASC, I.`ifDescr` * 1 ASC ';
     $entries = dbFetchRows($query);
     $i = 1;
     foreach ($entries as $port)
@@ -332,7 +332,7 @@
     if ($status['links'] && !$status['ports']) { $query .= ' AND L.`active` = 1 '; }
     $query .= $query_port_permitted;
     $query .= ' AND I.`ifLastChange` >= DATE_SUB(NOW(), INTERVAL '.$max_interval.' HOUR) ';
-    $query .= 'ORDER BY I.`ifLastChange` DESC, D.`hostname` ASC, I.`ifDescr` * 1 ASC ';
+    $query .= 'GROUP BY L.`local_port_id` ORDER BY I.`ifLastChange` DESC, D.`hostname` ASC, I.`ifDescr` * 1 ASC ';
     $entries = dbFetchRows($query);
     $i = 1;
     foreach ($entries as $port)