diff options
author | Misha Uliutin <mishau@microsoft.com> | 2016-04-25 09:59:48 +0300 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2016-06-02 19:09:53 -0400 |
commit | baab2c3c7049f984cdca6ed622059c62ce8cebf7 (patch) | |
tree | 2f7a90d3de76690624ac9eb429093ce1def706ff | |
parent | 6329509b86f3a6877a39fb59b7a1b535408db0ce (diff) | |
download | libnice-baab2c3c7049f984cdca6ed622059c62ce8cebf7.tar.gz |
component: Fix set TCP selected remote candidate
https://phabricator.freedesktop.org/T7407
-rw-r--r-- | agent/component.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/agent/component.c b/agent/component.c index 1e9cddd..d38d3e5 100644 --- a/agent/component.c +++ b/agent/component.c @@ -482,7 +482,7 @@ nice_component_set_selected_remote_candidate (NiceComponent *component, NiceCandidate *tmp = item->data; guint64 tmp_prio = 0; - if (tmp->transport != candidate->transport || + if (tmp->transport != conn_check_match_transport(candidate->transport) || tmp->addr.s.addr.sa_family != candidate->addr.s.addr.sa_family || tmp->type != NICE_CANDIDATE_TYPE_HOST) continue; |