[Nice] [nice/master] Don't try new stun demux in gtalk mode

Olivier Crête olivier.crete at collabora.co.uk
Wed Nov 5 14:01:16 PST 2008


---
 stun/stun-ice.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/stun/stun-ice.c b/stun/stun-ice.c
index 6cf6155..dc90e5a 100644
--- a/stun/stun-ice.c
+++ b/stun/stun-ice.c
@@ -100,7 +100,7 @@ stun_conncheck_reply (uint8_t *restrict buf, size_t *restrict plen,
     return EINVAL;
   }
 
-  if (!stun_demux (msg))
+  if (compat != 1 && !stun_demux (msg))
   {
     DBG (" Incorrectly multiplexed STUN message ignored.\n");
     return EINVAL;
-- 
1.5.6.5




More information about the Nice mailing list