aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/attributes/attribute_manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libhydra/attributes/attribute_manager.c')
-rw-r--r--src/libhydra/attributes/attribute_manager.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/libhydra/attributes/attribute_manager.c b/src/libhydra/attributes/attribute_manager.c
index 95520531e..250302356 100644
--- a/src/libhydra/attributes/attribute_manager.c
+++ b/src/libhydra/attributes/attribute_manager.c
@@ -87,7 +87,7 @@ METHOD(attribute_manager_t, acquire_address, host_t*,
return host;
}
-METHOD(attribute_manager_t, release_address, void,
+METHOD(attribute_manager_t, release_address, bool,
private_attribute_manager_t *this, char *pool, host_t *address,
identification_t *id)
{
@@ -108,10 +108,7 @@ METHOD(attribute_manager_t, release_address, void,
enumerator->destroy(enumerator);
this->lock->unlock(this->lock);
- if (!found)
- {
- DBG1(DBG_CFG, "releasing address to pool '%s' failed", pool);
- }
+ return found;
}
/**