From: Fabrice Bellet Date: Tue, 4 Jun 2019 17:34:22 +0000 (+0200) Subject: Revert "conncheck: Don't lookup prflx pair for UDP candidates" X-Git-Tag: 0.1.17~185 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=07d3caa54e1351bede32e5be36b3b68365496ab3;p=platform%2Fupstream%2Flibnice.git Revert "conncheck: Don't lookup prflx pair for UDP candidates" This reverts commit ca47519feda9d4dad38a06e2f7d94c0afc501364. --- diff --git a/agent/conncheck.c b/agent/conncheck.c index 3c4c889..ca3ed6b 100644 --- a/agent/conncheck.c +++ b/agent/conncheck.c @@ -3052,13 +3052,11 @@ static CandidateCheckPair *priv_process_response_check_for_reflexive(NiceAgent * * of a TCP-ACTIVE local candidate, so we find it even if an incoming * check matched an existing pair because it could be the original * ACTIVE-PASSIVE candidate pair which was retriggered */ - if (local_cand->transport != NICE_CANDIDATE_TRANSPORT_UDP) { - for (i = stream->conncheck_list; i; i = i->next) { - CandidateCheckPair *pair = i->data; - if (pair->local == cand && remote_candidate == pair->remote) { - new_pair = pair; - break; - } + for (i = stream->conncheck_list; i; i = i->next) { + CandidateCheckPair *pair = i->data; + if (pair->local == cand && remote_candidate == pair->remote) { + new_pair = pair; + break; } } break;