Version 2.2

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
This commit is contained in:
Sami Kerola 2006-03-27 00:00:00 +02:00
parent 61b6acf2f5
commit 658fe50312
14 changed files with 697 additions and 163 deletions

View file

@ -104,6 +104,12 @@ do_counting (void)
if (range_p->last_ip < leases[i])
{
range_p++;
/* Break loop before trying to access memorory that is
* not allocated. */
if (range_p - ranges > num_ranges)
{
break;
}
block_size = range_p->last_ip - range_p->first_ip - 1;
if (range_p->shared_net)
{