From baab2c3c7049f984cdca6ed622059c62ce8cebf7 Mon Sep 17 00:00:00 2001 From: Misha Uliutin Date: Mon, 25 Apr 2016 09:59:48 +0300 Subject: [PATCH] component: Fix set TCP selected remote candidate https://phabricator.freedesktop.org/T7407 --- agent/component.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.7.4