diff --git a/html/pages/device/ports.inc.php b/html/pages/device/ports.inc.php index 3b69d1d1625..1fc208e5012 100644 --- a/html/pages/device/ports.inc.php +++ b/html/pages/device/ports.inc.php @@ -102,7 +102,7 @@ unset($seperator); // FIXME - FIX THIS. UGLY. - foreach (dbFetchRows('select * from ports WHERE device_id = ? ORDER BY ifIndex', array($device['device_id'])) as $port) { + foreach (dbFetchRows('select * from ports WHERE device_id = ? AND `disabled` = 0 ORDER BY ifIndex', array($device['device_id'])) as $port) { $port = cleanPort($port, $device); echo "
".makeshortif($port['ifDescr']).'