From 883c1e30847c4d56ebc56f7b7ee570b0a5dab43f Mon Sep 17 00:00:00 2001 From: Andreas Steffen Date: Thu, 11 Jan 2007 20:03:38 +0000 Subject: [PATCH] name the created CHILD_SA --- src/charon/sa/transactions/create_child_sa.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/charon/sa/transactions/create_child_sa.c b/src/charon/sa/transactions/create_child_sa.c index bcb3ced38a..1d5142b3be 100644 --- a/src/charon/sa/transactions/create_child_sa.c +++ b/src/charon/sa/transactions/create_child_sa.c @@ -843,7 +843,8 @@ static status_t get_response(private_create_child_sa_t *this, message_t *request } else { - SIG(CHILD_UP_SUCCESS, "CHILD_SA created"); + SIG(CHILD_UP_SUCCESS, "CHILD_SA '%s' created", + this->policy->get_name(this->policy)); } return SUCCESS; } @@ -1039,7 +1040,8 @@ static status_t conclude(private_create_child_sa_t *this, message_t *response, } else { - SIG(CHILD_UP_SUCCESS, "CHILD_SA created"); + SIG(CHILD_UP_SUCCESS, "CHILD_SA '%s' created", + this->policy->get_name(this->policy)); } if (this->lost) {