Merge branch 'ent-10154-no-funciona-la-vista-de-mapa-de-red-preliminar-desde-tarea-discovery' into 'develop'
Ent 10154 no funciona la vista de mapa de red preliminar desde tarea discovery See merge request artica/pandorafms!5415
This commit is contained in:
commit
24f219e2ce
|
@ -776,7 +776,7 @@ class NetworkMap
|
|||
// Search.
|
||||
if ($this->idTask) {
|
||||
// Network map, based on discovery task.
|
||||
return get_discovery_agents($this->idTask);
|
||||
enterprise_hook('get_discovery_agents', [$this->idTask]);
|
||||
}
|
||||
|
||||
if ($this->network) {
|
||||
|
|
|
@ -4161,7 +4161,7 @@ function networkmap_get_new_nodes_and_links($networkmap, $x, $y)
|
|||
}
|
||||
|
||||
if ((int) $networkmap['source'] === SOURCE_TASK) {
|
||||
$agents = get_discovery_agents($id_recon, true);
|
||||
$agents = enterprise_hook('get_discovery_agents', [$id_recon, true]);
|
||||
} else if ((int) $networkmap['source'] === SOURCE_NETWORK) {
|
||||
// Network map, based on direct network.
|
||||
$agents = networkmap_get_nodes_from_ip_mask(
|
||||
|
|
Loading…
Reference in New Issue