Changeset 3369


Ignore:
Timestamp:
Nov 17, 2010 9:00:17 AM (9 years ago)
Author:
bennylp
Message:

Fixed #1158: Possible wrong multiplexing of STUN traffic inside TURN Data Indication

File:
1 edited

Legend:

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

    r3022 r3369  
    28952895    } 
    28962896 
     2897    /* Don't check fingerprint. We only need to distinguish STUN and non-STUN 
     2898     * packets. We don't need to verify the STUN packet too rigorously, that 
     2899     * will be done by the user. 
     2900     */ 
    28972901    status = pj_stun_msg_check((const pj_uint8_t*)pkt, pkt_size,  
    2898                                PJ_STUN_IS_DATAGRAM); 
     2902                               PJ_STUN_IS_DATAGRAM | 
     2903                                 PJ_STUN_NO_FINGERPRINT_CHECK); 
    28992904    if (status == PJ_SUCCESS) { 
    29002905        status = pj_stun_session_on_rx_pkt(comp->stun_sess, pkt, pkt_size, 
Note: See TracChangeset for help on using the changeset viewer.