Changeset 4610

Show
Ignore:
Timestamp:
11/11/08 07:19:37 (2 months ago)
Author:
andreas
Message:

cosmetics in debug output

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/charon/config/backend_manager.c

    r4134 r4610  
    176176    data->other = other; 
    177177     
    178     DBG2(DBG_CFG, "looking for a config for %H...%H", me, other); 
     178    DBG2(DBG_CFG, "looking for an ike config for %H...%H", me, other); 
    179179     
    180180    this->mutex->lock(this->mutex); 
     
    189189        { 
    190190            DBG2(DBG_CFG, "  candidate: %s...%s, prio %d",  
    191                  current->get_my_addr(current), current->get_other_addr(current), 
    192                  match); 
     191                 current->get_my_addr(current),  
     192                 current->get_other_addr(current), match); 
    193193            if (match > best) 
    194194            { 
     
    202202    enumerator->destroy(enumerator); 
    203203    this->mutex->unlock(this->mutex); 
     204    if (found) 
     205    { 
     206        DBG2(DBG_CFG, "found matching ike config: %s...%s with prio %d",  
     207             found->get_my_addr(found), found->get_other_addr(found), best); 
     208    } 
    204209    return found; 
    205210} 
     
    228233    peer_data_t *data; 
    229234     
    230     DBG2(DBG_CFG, "looking for a config for %H[%D]...%H[%D]", 
     235    DBG2(DBG_CFG, "looking for a peer config for %H[%D]...%H[%D]", 
    231236         me, my_id, other, other_id); 
    232237     
     
    263268            auth->complies(auth, current->get_auth(current))) 
    264269        { 
    265             DBG2(DBG_CFG, "  candidate '%s': %D...%D, prio %d.%d", 
     270            DBG2(DBG_CFG, "  candidate \"%s\": %D...%D with prio %d.%d", 
    266271                 current->get_name(current), my_cand, other_cand, 
    267272                 match_peer, match_ike); 
     
    278283    if (found) 
    279284    { 
    280         DBG1(DBG_CFG, "found matching config \"%s\": %D...%D, prio %d.%d", 
     285        DBG1(DBG_CFG, "found matching peer config \"%s\": %D...%D with prio %d.%d", 
    281286             found->get_name(found), found->get_my_id(found), 
    282287             found->get_other_id(found), best_peer, best_ike);