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:
parent
445eff3b97
commit
5cc2fd33ef
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue