Changeset 1433 for pjproject/trunk
- Timestamp:
- Sep 14, 2007 9:30:25 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjnath/src/pjnath/ice_strans.c
r1410 r1433 477 477 478 478 if (status == PJ_SUCCESS) { 479 if ( ice_st->ice==NULL&&480 (comp->stun_sess&&481 pj_memcmp(comp->pkt+8, comp->ka_tsx_id, 12) == 0))479 if (comp->stun_sess && 480 PJ_STUN_IS_RESPONSE(((pj_stun_msg_hdr*)comp->pkt)->type) && 481 pj_memcmp(comp->pkt+8, comp->ka_tsx_id, 12) == 0) 482 482 { 483 483 status = pj_stun_session_on_rx_pkt(comp->stun_sess, comp->pkt, … … 500 500 comp->src_addr_len); 501 501 } else { 502 /* This must have been a very late STUN reponse */ 502 /* This must have been a very late STUN reponse, 503 * or an early STUN Binding Request when our local 504 * ICE has not been created yet. */ 503 505 } 504 506 } else {
Note: See TracChangeset
for help on using the changeset viewer.