put IKE_SA and CHILD_SA names in single quotes
This commit is contained in:
@@ -581,7 +581,7 @@ 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)
|
static void set_state(private_ike_sa_t *this, ike_sa_state_t state)
|
||||||
{
|
{
|
||||||
DBG1(DBG_IKE, "IKE_SA state %s change: %N => %N",
|
DBG1(DBG_IKE, "IKE_SA '%s' state change: %N => %N",
|
||||||
get_name(this),
|
get_name(this),
|
||||||
ike_sa_state_names, this->state,
|
ike_sa_state_names, this->state,
|
||||||
ike_sa_state_names, state);
|
ike_sa_state_names, state);
|
||||||
|
|||||||
@@ -808,7 +808,7 @@ static status_t process_i(private_child_create_t *this, message_t *message)
|
|||||||
|
|
||||||
if (select_and_install(this, no_dh) == SUCCESS)
|
if (select_and_install(this, no_dh) == SUCCESS)
|
||||||
{
|
{
|
||||||
SIG(CHILD_UP_SUCCESS, "CHILD_SA %s successfully",
|
SIG(CHILD_UP_SUCCESS, "CHILD_SA '%s' established successfully",
|
||||||
this->child_sa->get_name(this->child_sa));
|
this->child_sa->get_name(this->child_sa));
|
||||||
}
|
}
|
||||||
return SUCCESS;
|
return SUCCESS;
|
||||||
|
|||||||
@@ -320,7 +320,7 @@ static status_t build_auth_eap(private_ike_auth_t *this, message_t *message)
|
|||||||
if (!this->initiator)
|
if (!this->initiator)
|
||||||
{
|
{
|
||||||
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
||||||
SIG(IKE_UP_SUCCESS, "IKE_SA %s established between %D[%H]...[%H]%D",
|
SIG(IKE_UP_SUCCESS, "IKE_SA '%s' established between %D[%H]...[%H]%D",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_my_id(this->ike_sa),
|
this->ike_sa->get_my_id(this->ike_sa),
|
||||||
this->ike_sa->get_my_host(this->ike_sa),
|
this->ike_sa->get_my_host(this->ike_sa),
|
||||||
@@ -366,7 +366,7 @@ static status_t process_auth_eap(private_ike_auth_t *this, message_t *message)
|
|||||||
if (this->initiator)
|
if (this->initiator)
|
||||||
{
|
{
|
||||||
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
||||||
SIG(IKE_UP_SUCCESS, "IKE_SA %s established between %D[%H]...[%H]%D",
|
SIG(IKE_UP_SUCCESS, "IKE_SA '%s' established between %D[%H]...[%H]%D",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_my_id(this->ike_sa),
|
this->ike_sa->get_my_id(this->ike_sa),
|
||||||
this->ike_sa->get_my_host(this->ike_sa),
|
this->ike_sa->get_my_host(this->ike_sa),
|
||||||
@@ -575,7 +575,7 @@ static status_t build_r(private_ike_auth_t *this, message_t *message)
|
|||||||
if (this->peer_authenticated)
|
if (this->peer_authenticated)
|
||||||
{
|
{
|
||||||
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
||||||
SIG(IKE_UP_SUCCESS, "IKE_SA %s established between %D[%H]...[%H]%D",
|
SIG(IKE_UP_SUCCESS, "IKE_SA '%s' established between %D[%H]...[%H]%D",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_my_id(this->ike_sa),
|
this->ike_sa->get_my_id(this->ike_sa),
|
||||||
this->ike_sa->get_my_host(this->ike_sa),
|
this->ike_sa->get_my_host(this->ike_sa),
|
||||||
@@ -678,7 +678,7 @@ static status_t process_i(private_ike_auth_t *this, message_t *message)
|
|||||||
}
|
}
|
||||||
|
|
||||||
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
this->ike_sa->set_state(this->ike_sa, IKE_ESTABLISHED);
|
||||||
SIG(IKE_UP_SUCCESS, "IKE_SA %s established between %D[%H]...[%H]%D",
|
SIG(IKE_UP_SUCCESS, "IKE_SA '%s' established between %D[%H]...[%H]%D",
|
||||||
this->ike_sa->get_name(this->ike_sa),
|
this->ike_sa->get_name(this->ike_sa),
|
||||||
this->ike_sa->get_my_id(this->ike_sa),
|
this->ike_sa->get_my_id(this->ike_sa),
|
||||||
this->ike_sa->get_my_host(this->ike_sa),
|
this->ike_sa->get_my_host(this->ike_sa),
|
||||||
|
|||||||
Reference in New Issue
Block a user