log name of IKE_SA in state changes

This commit is contained in:
Andreas Steffen
2007-09-15 15:54:51 +00:00
parent 3f4076b7c8
commit be682af3e8
+2 -1
View File
@@ -581,7 +581,8 @@ static ike_sa_state_t get_state(private_ike_sa_t *this)
*/
static void set_state(private_ike_sa_t *this, ike_sa_state_t state)
{
DBG1(DBG_IKE, "IKE_SA state change: %N => %N",
DBG1(DBG_IKE, "IKE_SA state %s change: %N => %N",
get_name(this),
ike_sa_state_names, this->state,
ike_sa_state_names, state);