From: Martin Willi Date: Wed, 22 Feb 2012 15:16:15 +0000 (+0100) Subject: Be a little more verbose before starting IKE_SA reauthentication X-Git-Tag: 4.6.3~121 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fbaf5cd2130ae6a2ac17480c6eef9917e27e487d;p=thirdparty%2Fstrongswan.git Be a little more verbose before starting IKE_SA reauthentication --- diff --git a/src/libcharon/sa/ike_sa.c b/src/libcharon/sa/ike_sa.c index 8fa49b3d03..2ff2661ea5 100644 --- a/src/libcharon/sa/ike_sa.c +++ b/src/libcharon/sa/ike_sa.c @@ -1553,14 +1553,21 @@ METHOD(ike_sa_t, reauth, status_t, del = this->stats[STAT_DELETE]; now = time_monotonic(NULL); - DBG1(DBG_IKE, "IKE_SA will timeout in %V", &now, &del); + DBG1(DBG_IKE, "IKE_SA %s[%d] will timeout in %V", + get_name(this), this->unique_id, &now, &del); return FAILED; } else { - DBG1(DBG_IKE, "reauthenticating actively"); + DBG0(DBG_IKE, "reauthenticating IKE_SA %s[%d] actively", + get_name(this), this->unique_id); } } + else + { + DBG0(DBG_IKE, "reauthenticating IKE_SA %s[%d]", + get_name(this), this->unique_id); + } task = (task_t*)ike_reauth_create(&this->public); this->task_manager->queue_task(this->task_manager, task);