From 088ca3609f52a75e8f4bc9c35910470ba25cd211 Mon Sep 17 00:00:00 2001 From: boris Date: Tue, 14 Oct 2014 19:01:14 +0000 Subject: [PATCH] Adds tcptype to all TCP candidates. --- src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java b/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java index 0c1aa39..55c8ee6 100644 --- a/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java +++ b/src/org/ice4j/ice/harvest/MultiplexingTcpHostHarvester.java @@ -450,6 +450,7 @@ public class MultiplexingTcpHostHarvester if (base.isSSL()) mappedCandidate.setSSL(true); + mappedCandidate.setTcpType(CandidateTcpType.PASSIVE); mappedCandidates.add(mappedCandidate); } @@ -476,6 +477,7 @@ public class MultiplexingTcpHostHarvester if (base.isSSL()) portMappedCandidate.setSSL(true); + portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE); portMappedCandidates.add(portMappedCandidate); } @@ -501,6 +503,7 @@ public class MultiplexingTcpHostHarvester if (base.isSSL()) portMappedCandidate.setSSL(true); + portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE); portMappedCandidates.add(portMappedCandidate); }