quote identities
This commit is contained in:
@@ -222,7 +222,7 @@ static host_t* acquire_address(private_stroke_attribute_t *this,
|
|||||||
id = pool->ids->get(pool->ids, id);
|
id = pool->ids->get(pool->ids, id);
|
||||||
if (id)
|
if (id)
|
||||||
{
|
{
|
||||||
DBG1(DBG_CFG, "reassigning offline lease to %Y", id);
|
DBG1(DBG_CFG, "reassigning offline lease to '%Y'", id);
|
||||||
pool->online->put(pool->online, id, (void*)offset);
|
pool->online->put(pool->online, id, (void*)offset);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
@@ -232,7 +232,7 @@ static host_t* acquire_address(private_stroke_attribute_t *this,
|
|||||||
offset = (uintptr_t)pool->online->get(pool->online, id);
|
offset = (uintptr_t)pool->online->get(pool->online, id);
|
||||||
if (offset && offset == host2offset(pool, requested))
|
if (offset && offset == host2offset(pool, requested))
|
||||||
{
|
{
|
||||||
DBG1(DBG_CFG, "reassigning online lease to %Y", id);
|
DBG1(DBG_CFG, "reassigning online lease to '%Y'", id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -244,7 +244,7 @@ static host_t* acquire_address(private_stroke_attribute_t *this,
|
|||||||
id = id->clone(id);
|
id = id->clone(id);
|
||||||
pool->ids->put(pool->ids, id, id);
|
pool->ids->put(pool->ids, id, id);
|
||||||
pool->online->put(pool->online, id, (void*)offset);
|
pool->online->put(pool->online, id, (void*)offset);
|
||||||
DBG1(DBG_CFG, "assigning new lease to %Y", id);
|
DBG1(DBG_CFG, "assigning new lease to '%Y'", id);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
/* no more addresses, replace the first found offline lease */
|
/* no more addresses, replace the first found offline lease */
|
||||||
@@ -256,7 +256,7 @@ static host_t* acquire_address(private_stroke_attribute_t *this,
|
|||||||
{
|
{
|
||||||
/* destroy reference to old ID */
|
/* destroy reference to old ID */
|
||||||
old_id = pool->ids->remove(pool->ids, old_id);
|
old_id = pool->ids->remove(pool->ids, old_id);
|
||||||
DBG1(DBG_CFG, "reassigning existing offline lease of %Y to %Y",
|
DBG1(DBG_CFG, "reassigning existing offline lease by '%Y' to '%Y'",
|
||||||
old_id, id);
|
old_id, id);
|
||||||
if (old_id)
|
if (old_id)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user