ipsec statusall <conn> also filters address pools

This commit is contained in:
Andreas Steffen 2009-03-03 10:30:59 +00:00
parent b654daf561
commit 77e7eede36
1 changed files with 4 additions and 0 deletions

View File

@ -290,6 +290,10 @@ static void status(private_stroke_list_t *this, stroke_msg_t *msg, FILE *out, bo
enumerator = this->attribute->create_pool_enumerator(this->attribute);
while (enumerator->enumerate(enumerator, &pool, &size, &online, &offline))
{
if (name && !streq(name, pool))
{
continue;
}
if (first)
{
first = FALSE;