- Timestamp:
- Apr 17, 2008 5:25:37 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/branches/projects/ice-turn07/pjnath/src/pjnath/ice_strans.c
r1926 r1932 954 954 } 955 955 956 /* Skip if candidate has no address */ 957 if (!pj_sockaddr_has_addr(&cand->addr)) { 958 PJ_LOG(5,(ice_st->obj_name, 959 "Candidate %d in component %d is not added", 960 j, i)); 961 continue; 962 } 963 956 964 if (cand->type == PJ_ICE_CAND_TYPE_RELAYED) { 957 965 local_addr = &cand->addr; … … 964 972 cand->type, cand->local_pref, 965 973 &cand->foundation, &cand->addr, 966 &comp->local_addr, NULL,974 local_addr, relay_addr, 967 975 sizeof(pj_sockaddr_in), 968 976 (unsigned*)&cand->ice_cand_id); … … 1316 1324 } 1317 1325 1326 if (comp->ice_st->ice == NULL) { 1327 /* The session is gone */ 1328 return; 1329 } 1330 1318 1331 /* Find candidate ID for this packet */ 1319 1332 for (cand_id=0; cand_id<comp->cand_cnt; ++cand_id) {
Note: See TracChangeset
for help on using the changeset viewer.