From: Tobias Brunner Date: Mon, 10 Sep 2012 10:37:31 +0000 (+0200) Subject: Print the name of mem pools instead of the confusing / X-Git-Tag: 5.0.1~136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=383c174a79682e461534d4846f6ab4cf6ff356f8;p=thirdparty%2Fstrongswan.git Print the name of mem pools instead of the confusing / --- diff --git a/src/libcharon/plugins/stroke/stroke_attribute.c b/src/libcharon/plugins/stroke/stroke_attribute.c index 3e012230a6..fa58a24e3f 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); }