aboutsummaryrefslogtreecommitdiffstats
path: root/src/libhydra/attributes/attribute_manager.c
diff options
context:
space:
mode:
authorMartin Willi <martin@revosec.ch>2012-09-11 11:19:56 +0200
committerMartin Willi <martin@revosec.ch>2012-09-11 16:18:28 +0200
commit28a3d5bfbde466f71a3f8b692d58b775ff7290ce (patch)
tree8dd021fd6e158054914b3378970a8ef6fe1932d2 /src/libhydra/attributes/attribute_manager.c
parent594c58e1118e496eadd284647755b16b74665337 (diff)
downloadstrongswan-28a3d5bfbde466f71a3f8b692d58b775ff7290ce.tar.bz2
strongswan-28a3d5bfbde466f71a3f8b692d58b775ff7290ce.tar.xz
Pass full pool list to release_address
Diffstat (limited to 'src/libhydra/attributes/attribute_manager.c')
-rw-r--r--src/libhydra/attributes/attribute_manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libhydra/attributes/attribute_manager.c b/src/libhydra/attributes/attribute_manager.c
index e7a687a50..000d2e082 100644
--- a/src/libhydra/attributes/attribute_manager.c
+++ b/src/libhydra/attributes/attribute_manager.c
@@ -84,7 +84,7 @@ METHOD(attribute_manager_t, acquire_address, host_t*,
}
METHOD(attribute_manager_t, release_address, bool,
- private_attribute_manager_t *this, char *pool, host_t *address,
+ private_attribute_manager_t *this, linked_list_t *pools, host_t *address,
identification_t *id)
{
enumerator_t *enumerator;
@@ -95,7 +95,7 @@ METHOD(attribute_manager_t, release_address, bool,
enumerator = this->providers->create_enumerator(this->providers);
while (enumerator->enumerate(enumerator, &current))
{
- if (current->release_address(current, pool, address, id))
+ if (current->release_address(current, pools, address, id))
{
found = TRUE;
break;