From 55d1b04f7468e4484a4476148ecdb4a26bb6cfcb Mon Sep 17 00:00:00 2001 From: Alejandro Gallardo Escobar Date: Thu, 14 May 2015 12:16:54 +0200 Subject: [PATCH] Removed some conflictive characters --- pandora_server/util/recon_scripts/snmp-recon.pl | 2 +- pandora_server/util/recon_scripts/wmi-recon.pl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pandora_server/util/recon_scripts/snmp-recon.pl b/pandora_server/util/recon_scripts/snmp-recon.pl index 71d0ad0d2b..89e933018f 100755 --- a/pandora_server/util/recon_scripts/snmp-recon.pl +++ b/pandora_server/util/recon_scripts/snmp-recon.pl @@ -694,7 +694,7 @@ sub create_pandora_agent($) { # Assign the new address to the agent my $agent_addr_id = get_agent_addr_id ($DBH, $addr_id, $agent_id); if ($agent_addr_id <= 0) { - db_do ($DBH, 'INSERT INTO taddress_agent (`id_a`, `id_agent`) + db_do ($DBH, 'INSERT INTO taddress_agent (id_a, id_agent) VALUES (?, ?)', $addr_id, $agent_id); } } diff --git a/pandora_server/util/recon_scripts/wmi-recon.pl b/pandora_server/util/recon_scripts/wmi-recon.pl index 5b036e0200..53bb697b0d 100755 --- a/pandora_server/util/recon_scripts/wmi-recon.pl +++ b/pandora_server/util/recon_scripts/wmi-recon.pl @@ -187,7 +187,7 @@ sub create_pandora_agent($$) { # Assign the new address to the agent my $agent_addr_id = get_agent_addr_id ($DBH, $addr_id, $agent_id); if ($agent_addr_id <= 0) { - db_do ($DBH, 'INSERT INTO taddress_agent (`id_a`, `id_agent`) VALUES (?, ?)', $addr_id, $agent_id); + db_do ($DBH, 'INSERT INTO taddress_agent (id_a, id_agent) VALUES (?, ?)', $addr_id, $agent_id); } return $agent;