diff options
Diffstat (limited to 'agent')
-rw-r--r-- | agent/component.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/agent/component.c b/agent/component.c index 3794c3d..84491e3 100644 --- a/agent/component.c +++ b/agent/component.c @@ -1506,7 +1506,8 @@ nice_component_verify_remote_candidate (NiceComponent *component, for (item = component->valid_candidates; item; item = item->next) { NiceCandidate *cand = item->data; - if (((nicesock->type == NICE_SOCKET_TYPE_TCP_BSD && + if ((((nicesock->type == NICE_SOCKET_TYPE_TCP_BSD || + nicesock->type == NICE_SOCKET_TYPE_UDP_TURN) && (cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_ACTIVE || cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_PASSIVE || cand->transport == NICE_CANDIDATE_TRANSPORT_TCP_SO)) || |