Properly remove broadcast address from mem pools
This commit is contained in:
1 parent
32e30f15cb
commit
747fd544a7
1 file changed
+1
-1
@@ -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);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user