Adds tcptype to all TCP candidates.
This commit is contained in:
parent
004d962d71
commit
088ca3609f
@ -450,6 +450,7 @@ public class MultiplexingTcpHostHarvester
|
|||||||
|
|
||||||
if (base.isSSL())
|
if (base.isSSL())
|
||||||
mappedCandidate.setSSL(true);
|
mappedCandidate.setSSL(true);
|
||||||
|
mappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
|
||||||
|
|
||||||
mappedCandidates.add(mappedCandidate);
|
mappedCandidates.add(mappedCandidate);
|
||||||
}
|
}
|
||||||
@ -476,6 +477,7 @@ public class MultiplexingTcpHostHarvester
|
|||||||
|
|
||||||
if (base.isSSL())
|
if (base.isSSL())
|
||||||
portMappedCandidate.setSSL(true);
|
portMappedCandidate.setSSL(true);
|
||||||
|
portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
|
||||||
|
|
||||||
portMappedCandidates.add(portMappedCandidate);
|
portMappedCandidates.add(portMappedCandidate);
|
||||||
}
|
}
|
||||||
@ -501,6 +503,7 @@ public class MultiplexingTcpHostHarvester
|
|||||||
|
|
||||||
if (base.isSSL())
|
if (base.isSSL())
|
||||||
portMappedCandidate.setSSL(true);
|
portMappedCandidate.setSSL(true);
|
||||||
|
portMappedCandidate.setTcpType(CandidateTcpType.PASSIVE);
|
||||||
|
|
||||||
portMappedCandidates.add(portMappedCandidate);
|
portMappedCandidates.add(portMappedCandidate);
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user