summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenny Prijono <bennylp@teluu.com>2007-06-06 12:02:41 +0000
committerBenny Prijono <bennylp@teluu.com>2007-06-06 12:02:41 +0000
commit46c3c7c8ba5cf03e963ca79b817ab5daf6eea8af (patch)
tree0353c531ae507c09181c0c54202a7214cf19cd5e
parentcf3b7d32dc7325e0c47c5db591d5221aafc1071f (diff)
Fixed ticket #321: Assertion in ICE stream transport when STUN is not used (thanks Frank Nießen)
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1343 74dad513-b988-da41-8d7b-12977e46ad98
-rw-r--r--pjnath/src/pjnath/ice_strans.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pjnath/src/pjnath/ice_strans.c b/pjnath/src/pjnath/ice_strans.c
index c789d28f..e8344627 100644
--- a/pjnath/src/pjnath/ice_strans.c
+++ b/pjnath/src/pjnath/ice_strans.c
@@ -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))
{