Fixed ticket #321: Assertion in ICE stream transport when STUN is not used (thanks Frank Nießen)

git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1343 74dad513-b988-da41-8d7b-12977e46ad98
This commit is contained in:
Benny Prijono 2007-06-06 12:02:41 +00:00
parent e68e99f63e
commit c540b62db8
1 changed files with 1 additions and 1 deletions

View File

@ -476,7 +476,7 @@ static void on_read_complete(pj_ioqueue_key_t *key,
PJ_STUN_IS_DATAGRAM);
if (status == PJ_SUCCESS) {
if (ice_st->ice==NULL ||
if (ice_st->ice==NULL &&
(comp->stun_sess &&
pj_memcmp(comp->pkt+8, comp->ka_tsx_id, 12) == 0))
{