mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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:
parent
fa9811e4f8
commit
e52efabdb7
@ -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>
|
2014-04-03 Koichiro KIKUCHI <koichiro@rworks.jp>
|
||||||
|
|
||||||
* bin/tentacle_server: Updated to the logfile supported version.
|
* bin/tentacle_server: Updated to the logfile supported version.
|
||||||
|
@ -662,7 +662,7 @@ sub create_pandora_agent($) {
|
|||||||
# Add found IP addresses to the agent.
|
# Add found IP addresses to the agent.
|
||||||
foreach my $ip_addr (keys(%{$VISITED_DEVICES{$device}->{'addr'}})) {
|
foreach my $ip_addr (keys(%{$VISITED_DEVICES{$device}->{'addr'}})) {
|
||||||
my $addr_id = get_addr_id ($DBH, $ip_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);
|
next unless ($addr_id > 0);
|
||||||
|
|
||||||
# Assign the new address to the agent
|
# Assign the new address to the agent
|
||||||
@ -854,7 +854,7 @@ if ($#SUBNETS >= 0) {
|
|||||||
|
|
||||||
# Find routers.
|
# Find routers.
|
||||||
message("[1/6] Searching for routers...");
|
message("[1/6] Searching for routers...");
|
||||||
if ($ROUTER ne '') {
|
if (defined($ROUTER) && $ROUTER ne '') {
|
||||||
next_hop_discovery($ROUTER);
|
next_hop_discovery($ROUTER);
|
||||||
}
|
}
|
||||||
update_recon_task($DBH, $TASK_ID, 15);
|
update_recon_task($DBH, $TASK_ID, 15);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user