From 77e7eede367e37ea1bbdca8b02393fc475bdd2c0 Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Tue, 3 Mar 2009 10:30:59 +0000 Subject: [PATCH] ipsec statusall also filters address pools --- src/charon/plugins/stroke/stroke_list.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/charon/plugins/stroke/stroke_list.c b/src/charon/plugins/stroke/stroke_list.c index 8042875c9..99fe8c468 100644 --- a/src/charon/plugins/stroke/stroke_list.c +++ b/src/charon/plugins/stroke/stroke_list.c @@ -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;