From fbaf5cd2130ae6a2ac17480c6eef9917e27e487d Mon Sep 17 00:00:00 2001 From: Martin Willi Date: Wed, 22 Feb 2012 16:16:15 +0100 Subject: [PATCH] Be a little more verbose before starting IKE_SA reauthentication --- src/libcharon/sa/ike_sa.c | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/libcharon/sa/ike_sa.c b/src/libcharon/sa/ike_sa.c index 8fa49b3d0..2ff2661ea 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);