name the created CHILD_SA

This commit is contained in:
Andreas Steffen
2007-01-11 20:03:38 +00:00
parent 74ca038e93
commit 883c1e3084
+4 -2
View File
@@ -843,7 +843,8 @@ static status_t get_response(private_create_child_sa_t *this, message_t *request
} }
else else
{ {
SIG(CHILD_UP_SUCCESS, "CHILD_SA created"); SIG(CHILD_UP_SUCCESS, "CHILD_SA '%s' created",
this->policy->get_name(this->policy));
} }
return SUCCESS; return SUCCESS;
} }
@@ -1039,7 +1040,8 @@ static status_t conclude(private_create_child_sa_t *this, message_t *response,
} }
else 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) if (this->lost)
{ {