From 26acc537a4da2f86a5eb7de99fe0c4617a3eef63 Mon Sep 17 00:00:00 2001 From: daniel Date: Thu, 23 Mar 2017 13:10:50 +0100 Subject: [PATCH] fixed minor error in networkmap for defect spring2 --- .../operation/agentes/pandora_networkmap.editor.php | 2 +- pandora_console/operation/agentes/pandora_networkmap.php | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/operation/agentes/pandora_networkmap.editor.php b/pandora_console/operation/agentes/pandora_networkmap.editor.php index 5bf3dea844..eea978db77 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.editor.php +++ b/pandora_console/operation/agentes/pandora_networkmap.editor.php @@ -33,7 +33,7 @@ if ($new_networkmap) { $id_group = 0; $node_radius = 40; $description = ""; - $method = 'twopi'; + $method = 'fdp'; $recon_task_id = 0; $source = 'group'; $ip_mask = ''; diff --git a/pandora_console/operation/agentes/pandora_networkmap.php b/pandora_console/operation/agentes/pandora_networkmap.php index c6c22f3e78..7d6ef647dc 100644 --- a/pandora_console/operation/agentes/pandora_networkmap.php +++ b/pandora_console/operation/agentes/pandora_networkmap.php @@ -74,7 +74,7 @@ if ($new_networkmap || $save_networkmap) { $width = 4000; $height = 4000; - $method = (string) get_parameter('method', 'twopi'); + $method = (string) get_parameter('method', 'fdp'); $recon_task_id = (int) get_parameter( 'recon_task_id', 0); @@ -203,7 +203,7 @@ else if ($update_networkmap || $copy_networkmap || $delete) { } $name = (string) get_parameter('name', ''); - $method = (string) get_parameter('method', 'twopi'); + $method = (string) get_parameter('method', 'fdp'); $recon_task_id = (int) get_parameter( 'recon_task_id', 0);