Changeset 2905


Ignore:
Timestamp:
Aug 20, 2009 10:42:29 PM (10 years ago)
Author:
bennylp
Message:

Fixed ticket #953: ICE may find the wrong best candidate (thanks John Ridges for the report)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjnath/src/pjnath/ice_session.c

    r2827 r2905  
    23142314    } 
    23152315 
    2316     /* Sort valid_list */ 
    2317     sort_checklist(&ice->valid_list); 
    2318  
    23192316    /* Update valid check and nominated check for the component */ 
    23202317    update_comp_check(ice, new_check->lcand->comp_id, new_check); 
     2318 
     2319    /* Sort valid_list (must do so after update_comp_check(), otherwise 
     2320     * new_check will point to something else (#953) 
     2321     */ 
     2322    sort_checklist(&ice->valid_list); 
    23212323 
    23222324    /* 7.1.2.2.2.  Updating Pair States 
Note: See TracChangeset for help on using the changeset viewer.