Changeset 4610
- Timestamp:
- 11/11/08 07:19:37 (2 months ago)
- Files:
-
- trunk/src/charon/config/backend_manager.c (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/src/charon/config/backend_manager.c
r4134 r4610 176 176 data->other = other; 177 177 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); 179 179 180 180 this->mutex->lock(this->mutex); … … 189 189 { 190 190 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); 193 193 if (match > best) 194 194 { … … 202 202 enumerator->destroy(enumerator); 203 203 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 } 204 209 return found; 205 210 } … … 228 233 peer_data_t *data; 229 234 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]", 231 236 me, my_id, other, other_id); 232 237 … … 263 268 auth->complies(auth, current->get_auth(current))) 264 269 { 265 DBG2(DBG_CFG, " candidate '%s': %D...%D,prio %d.%d",270 DBG2(DBG_CFG, " candidate \"%s\": %D...%D with prio %d.%d", 266 271 current->get_name(current), my_cand, other_cand, 267 272 match_peer, match_ike); … … 278 283 if (found) 279 284 { 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", 281 286 found->get_name(found), found->get_my_id(found), 282 287 found->get_other_id(found), best_peer, best_ike);
