Ent 5099 dobles interfaces en mapas de red no se visualizan
This commit is contained in:
parent
1b5dcd781f
commit
28b585196b
|
@ -1340,6 +1340,10 @@ class NetworkMap
|
|||
if ($rel['parent_type'] == NODE_MODULE
|
||||
&& $rel['child_type'] == NODE_MODULE
|
||||
) {
|
||||
// Keep std references.
|
||||
$ref_id_parent = $id_parent;
|
||||
$ref_id_child = $id_child;
|
||||
|
||||
// Module information available.
|
||||
$id_parent = $rel['id_parent_source_data'];
|
||||
$id_child = $rel['id_child_source_data'];
|
||||
|
@ -1374,6 +1378,12 @@ class NetworkMap
|
|||
'index' => $index,
|
||||
'priority' => $priority,
|
||||
];
|
||||
|
||||
// Keep node reference mapping - low precedence relationship.
|
||||
$rel_map[$ref_id_parent.'_'.$ref_id_child] = [
|
||||
'index' => $index,
|
||||
'priority' => $priority,
|
||||
];
|
||||
}
|
||||
} else if ($rel['parent_type'] == NODE_AGENT
|
||||
&& $rel['child_type'] == NODE_AGENT
|
||||
|
|
Loading…
Reference in New Issue