From 7b2a032d28a73500d2b5bfdd296e834229b73705 Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Tue, 3 Mar 2009 14:43:53 +0000 Subject: [PATCH] stop searching other pools if lease successfully released --- src/charon/plugins/stroke/stroke_attribute.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/charon/plugins/stroke/stroke_attribute.c b/src/charon/plugins/stroke/stroke_attribute.c index 7591a1e27..f850b5320 100644 --- a/src/charon/plugins/stroke/stroke_attribute.c +++ b/src/charon/plugins/stroke/stroke_attribute.c @@ -307,6 +307,7 @@ static bool release_address(private_stroke_attribute_t *this, { DBG1(DBG_CFG, "lease %H of %D went offline", address, id); pool->offline->put(pool->offline, id, (void*)offset); + found = TRUE; } } }