Properly remove broadcast address from mem pools

This commit is contained in:
Tobias Brunner
2012-09-10 11:44:18 +02:00
parent 32e30f15cb
commit 747fd544a7
+1 -1
View File
@@ -499,7 +499,7 @@ mem_pool_t *mem_pool_create(char *name, host_t *base, int bits)
if (this->size > 2)
{ /* do not use first and last addresses of a block */
this->unused++;
this->size--;
this->size -= 2;
}
this->base = base->clone(base);
}