aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Willi <martin@strongswan.org>2009-03-03 14:43:53 +0000
committerMartin Willi <martin@strongswan.org>2009-03-03 14:43:53 +0000
commit7b2a032d28a73500d2b5bfdd296e834229b73705 (patch)
tree2ac5cb9fd0df50b7a680ddf3c64f0ab5a1e7a174
parent77e7eede367e37ea1bbdca8b02393fc475bdd2c0 (diff)
downloadstrongswan-7b2a032d28a73500d2b5bfdd296e834229b73705.tar.bz2
strongswan-7b2a032d28a73500d2b5bfdd296e834229b73705.tar.xz
stop searching other pools if lease successfully released
-rw-r--r--src/charon/plugins/stroke/stroke_attribute.c1
1 files changed, 1 insertions, 0 deletions
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;
}
}
}