2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>

* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
	and broadcast address. 



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5098 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
darode 2011-10-28 12:45:31 +00:00
parent 445eff3b97
commit 5cc2fd33ef
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-10-28 Dario Rodriguez <dario.rodriguez@artica.es>
* util/recon_scripts/snmpdevices.pl: Fixed a bug related to main loop
and broadcast address.
2011-10-28 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Update the configuration of the

View File

@ -162,7 +162,7 @@ for (my $i = 1; $net_addr <= $net_addr->broadcast; $i++, $net_addr++) {
}
my $net_addr_temp = $net_addr + 1;
if($net_addr eq $net_addr_temp) {
if($net_addr->broadcast eq $net_addr_temp) {
$last = 1;
}