diff options
author | Martin Willi <martin@revosec.ch> | 2012-08-27 14:48:41 +0200 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-08-30 16:43:43 +0200 |
commit | d55fe264d1dd33a2751aa75a6f814e153f6354d4 (patch) | |
tree | 794fa35496d7374c3f675b38a692045d880ab7d6 /src/libhydra/attributes/attribute_manager.c | |
parent | feb8550401c85218523c007f0d52a1c9bf006342 (diff) | |
download | strongswan-d55fe264d1dd33a2751aa75a6f814e153f6354d4.tar.bz2 strongswan-d55fe264d1dd33a2751aa75a6f814e153f6354d4.tar.xz |
Pass all configured pool names to attribute provider enumerator
Diffstat (limited to 'src/libhydra/attributes/attribute_manager.c')
-rw-r--r-- | src/libhydra/attributes/attribute_manager.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/libhydra/attributes/attribute_manager.c b/src/libhydra/attributes/attribute_manager.c index b1c2c9555..a2ee773bd 100644 --- a/src/libhydra/attributes/attribute_manager.c +++ b/src/libhydra/attributes/attribute_manager.c @@ -51,8 +51,8 @@ struct private_attribute_manager_t { * Data to pass to enumerator filters */ typedef struct { - /** attribute group pool */ - char *pool; + /** attribute group pools */ + linked_list_t *pools; /** server/peer identity */ identification_t *id; /** requesting/assigned virtual IPs */ @@ -117,18 +117,18 @@ METHOD(attribute_manager_t, release_address, bool, static enumerator_t *responder_enum_create(attribute_provider_t *provider, enum_data_t *data) { - return provider->create_attribute_enumerator(provider, data->pool, + return provider->create_attribute_enumerator(provider, data->pools, data->id, data->vips); } METHOD(attribute_manager_t, create_responder_enumerator, enumerator_t*, - private_attribute_manager_t *this, char *pool, identification_t *id, - linked_list_t *vips) + private_attribute_manager_t *this, linked_list_t *pools, + identification_t *id, linked_list_t *vips) { enum_data_t *data; INIT(data, - .pool = pool, + .pools = pools, .id = id, .vips = vips, ); |