aboutsummaryrefslogtreecommitdiffstats
path: root/src/libcharon/plugins/stroke/stroke_attribute.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/libcharon/plugins/stroke/stroke_attribute.c')
-rw-r--r--src/libcharon/plugins/stroke/stroke_attribute.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/libcharon/plugins/stroke/stroke_attribute.c b/src/libcharon/plugins/stroke/stroke_attribute.c
index 3e012230a..fa58a24e3 100644
--- a/src/libcharon/plugins/stroke/stroke_attribute.c
+++ b/src/libcharon/plugins/stroke/stroke_attribute.c
@@ -199,9 +199,10 @@ METHOD(stroke_attribute_t, add_pool, void,
base->ip_equals(base, current->get_base(current)) &&
size == current->get_size(current))
{
+ DBG1(DBG_CFG, "reusing virtual IP address pool %s",
+ current->get_name(current));
pool->destroy(pool);
pool = NULL;
- DBG1(DBG_CFG, "reusing virtual IP address pool %H/%d", base, size);
break;
}
}
@@ -211,7 +212,8 @@ METHOD(stroke_attribute_t, add_pool, void,
{
if (base)
{
- DBG1(DBG_CFG, "adding virtual IP address pool %H/%d", base, size);
+ DBG1(DBG_CFG, "adding virtual IP address pool %s",
+ pool->get_name(pool));
}
this->pools->insert_last(this->pools, pool);
}