diff --git a/includes/discovery/ports.inc.php b/includes/discovery/ports.inc.php index c682fa6e57..fd31fa9ce4 100644 --- a/includes/discovery/ports.inc.php +++ b/includes/discovery/ports.inc.php @@ -21,7 +21,7 @@ if ($device['port_association_mode']) $port_association_mode = get_port_assoc_mode_name ($device['port_association_mode']); // Build array of ports in the database and an ifIndex/ifName -> port_id map -$ports_mapped = get_ports_mapped ($device['id']); +$ports_mapped = get_ports_mapped ($device['device_id']); $ports_db = $ports_mapped['ports']; //