put IKE_SA and CHILD_SA names in single quotes
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Sep 2007 16:06:58 +0000 (16:06 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sat, 15 Sep 2007 16:06:58 +0000 (16:06 -0000)
src/charon/sa/ike_sa.c
src/charon/sa/tasks/child_create.c
src/charon/sa/tasks/ike_auth.c

index ef0c4f4..380fec1 100644 (file)
@@ -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)
 {
-       DBG1(DBG_IKE, "IKE_SA state %s change: %N => %N",
+       DBG1(DBG_IKE, "IKE_SA '%s' state change: %N => %N",
                 get_name(this),
                 ike_sa_state_names, this->state,
                 ike_sa_state_names, state);
index d5ff88c..2625327 100644 (file)
@@ -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)
        {
-               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));
        }
        return SUCCESS;
index e81877f..11f8852 100644 (file)
@@ -320,7 +320,7 @@ static status_t build_auth_eap(private_ike_auth_t *this, message_t *message)
        if (!this->initiator)
        {
                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_my_id(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)
        {
                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_my_id(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)
        {
                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_my_id(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);
-       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_my_id(this->ike_sa), 
                this->ike_sa->get_my_host(this->ike_sa),