2014-04-03 Ramon Novoa <rnovoa@artica.es>

* util/recon_scripts/snmp-recon.pl: Fixed a typo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@9715 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
ramonn 2014-04-03 15:11:03 +00:00
parent fa9811e4f8
commit e52efabdb7
2 changed files with 6 additions and 2 deletions

View File

@ -1,3 +1,7 @@
2014-04-03 Ramon Novoa <rnovoa@artica.es>
* util/recon_scripts/snmp-recon.pl: Fixed a typo.
2014-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
* bin/tentacle_server: Updated to the logfile supported version.

View File

@ -662,7 +662,7 @@ sub create_pandora_agent($) {
# Add found IP addresses to the agent.
foreach my $ip_addr (keys(%{$VISITED_DEVICES{$device}->{'addr'}})) {
my $addr_id = get_addr_id ($DBH, $ip_addr);
add_address ($DBH, $ip_addr) unless ($addr_id > 0);
$addr_id = add_address ($DBH, $ip_addr) unless ($addr_id > 0);
next unless ($addr_id > 0);
# Assign the new address to the agent
@ -854,7 +854,7 @@ if ($#SUBNETS >= 0) {
# Find routers.
message("[1/6] Searching for routers...");
if ($ROUTER ne '') {
if (defined($ROUTER) && $ROUTER ne '') {
next_hop_discovery($ROUTER);
}
update_recon_task($DBH, $TASK_ID, 15);