output peer ID in duplicate deletion log entry
authorAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 26 Mar 2009 13:18:19 +0000 (13:18 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Thu, 26 Mar 2009 13:18:19 +0000 (13:18 -0000)
src/charon/sa/ike_sa_manager.c

index 4246b9e..0528e8b 100644 (file)
@@ -1476,8 +1476,8 @@ static bool check_uniqueness(private_ike_sa_manager_t *this, ike_sa_t *ike_sa)
                                        switch (policy)
                                        {
                                                case UNIQUE_REPLACE:
-                                                       DBG1(DBG_IKE, "deleting duplicate IKE_SA due"
-                                                                       " uniqueness policy");
+                                                       DBG1(DBG_IKE, "deleting duplicate IKE_SA for peer "
+                                                                       "'%D' due to uniqueness policy", other);
                                                        status = duplicate->delete(duplicate);
                                                        break;
                                                case UNIQUE_KEEP: