diff options
author | Fabrice Bellet <fabrice@bellet.info> | 2019-06-04 19:34:22 +0200 |
---|---|---|
committer | Olivier CrĂȘte <olivier.crete@collabora.com> | 2019-07-04 17:03:43 -0400 |
commit | 07d3caa54e1351bede32e5be36b3b68365496ab3 (patch) | |
tree | 1aa2339e4c17210bfe6ab0370c731804cbb2167b | |
parent | 71a8a9e228d35a7b27eb92d387f168b994c98059 (diff) | |
download | libnice-07d3caa54e1351bede32e5be36b3b68365496ab3.tar.gz |
Revert "conncheck: Don't lookup prflx pair for UDP candidates"
This reverts commit ca47519feda9d4dad38a06e2f7d94c0afc501364.
-rw-r--r-- | agent/conncheck.c | 12 |
1 files changed, 5 insertions, 7 deletions
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; |