Add extra information in debug output for IKE_SA check{out, in}

This output helps tracing checkout and checkin of IKE_SAs when there is
more than one IKE_SAs with the same name. I also added the type of
in-air-exchange to the debug output issued by the task_manager in case
a task initiation is delayed, came in handy for me.
This commit is contained in:
Thomas Egerer
2010-06-07 15:12:13 +02:00
committed by Martin Willi
parent 5493ffde0b
commit 03ffa88531
2 changed files with 27 additions and 10 deletions
+2 -1
View File
@@ -291,7 +291,8 @@ METHOD(task_manager_t, initiate, status_t,
if (this->initiating.type != EXCHANGE_TYPE_UNDEFINED)
{
DBG2(DBG_IKE, "delaying task initiation, exchange in progress");
DBG2(DBG_IKE, "delaying task initiation, %N exchange in progress",
exchange_type_names, this->initiating.type);
/* do not initiate if we already have a message in the air */
return SUCCESS;
}