diff options
author | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-17 01:30:10 -0400 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2014-05-17 01:30:10 -0400 |
commit | 62f12a82aabb31fe9f1f04ffb8272df49e847f17 (patch) | |
tree | fff5f10b79f672e85591cf7e8f10fdda98c6f02b /agent/discovery.c | |
parent | cea728ee4a4022f44849685ddc3c8a8a26e1cf29 (diff) | |
download | libnice-62f12a82aabb31fe9f1f04ffb8272df49e847f17.tar.gz |
discovery: Compare tranports (TCP vs UDP) while assigning remote foundations
Diffstat (limited to 'agent/discovery.c')
-rw-r--r-- | agent/discovery.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/discovery.c b/agent/discovery.c index 1cd43d5..8a897ff 100644 --- a/agent/discovery.c +++ b/agent/discovery.c @@ -389,6 +389,7 @@ static void priv_assign_remote_foundation (NiceAgent *agent, NiceCandidate *cand nice_address_get_port (&candidate->base_addr)); if (candidate->type == n->type && + candidate->transport == n->transport && candidate->stream_id == n->stream_id && nice_address_equal (&candidate->addr, &temp)) { /* note: currently only one STUN/TURN server per stream at a |