Pass a list instead of a single virtual IP to attribute enumerators
This commit is contained in:
@@ -78,9 +78,9 @@ static bool attr_enum_filter(void *null, attribute_entry_t **in,
|
||||
|
||||
METHOD(attribute_provider_t, create_attribute_enumerator, enumerator_t*,
|
||||
private_attr_provider_t *this, char *pool,
|
||||
identification_t *id, host_t *vip)
|
||||
identification_t *id, linked_list_t *vips)
|
||||
{
|
||||
if (vip)
|
||||
if (vips->get_count(vips))
|
||||
{
|
||||
this->lock->read_lock(this->lock);
|
||||
return enumerator_create_filter(
|
||||
|
||||
Reference in New Issue
Block a user