log name of IKE_SA in state changes
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Sep 2007 15:54:51 +0000 (15:54 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Sep 2007 15:54:51 +0000 (15:54 -0000)
src/charon/sa/ike_sa.c

index d23f08e..ef0c4f4 100644 (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);