diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index dc8b4cd0aa..f148f9ab84 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2014-04-04 Miguel de Dios + + * include/functions_networkmap.php: fixed the networkmap L2 with + unknown modules. Thanks Alex. + 2014-04-03 Miguel de Dios * include/functions_networkmap.php: fixed the PHP warning. diff --git a/pandora_console/include/functions_networkmap.php b/pandora_console/include/functions_networkmap.php index de41faafc1..e078fe8b8b 100644 --- a/pandora_console/include/functions_networkmap.php +++ b/pandora_console/include/functions_networkmap.php @@ -308,12 +308,13 @@ function networkmap_generate_dot ($pandora_name, $group = 0, $nodes[$node_count] = $agent; if ($l2_network || $show_snmp_modules) { - + $filter = array(); $filter['disabled'] = 0; // Get agent modules data - $modules = agents_get_modules ($agent['id_agente'], '*', $filter, true, false); + $modules = agents_get_modules($agent['id_agente'], '*', + $filter, true, true); if ($modules === false) $modules = array();