mirror of
https://github.com/vanitasvitae/Smack.git
synced 2024-12-23 11:07:57 +01:00
OOPS...
git-svn-id: http://svn.igniterealtime.org/svn/repos/smack/trunk@6873 b35dd754-fafc-0310-a699-88a17e54d16e
This commit is contained in:
parent
01abc3a797
commit
bf2db58c7c
1 changed files with 0 additions and 1 deletions
|
@ -838,7 +838,6 @@ public abstract class TransportNegotiator extends JingleNegotiator {
|
||||||
try {
|
try {
|
||||||
TransportCandidate.Ice ice = (TransportCandidate.Ice) tc;
|
TransportCandidate.Ice ice = (TransportCandidate.Ice) tc;
|
||||||
if (ice.getType().equals("relay")) return true;
|
if (ice.getType().equals("relay")) return true;
|
||||||
if(true) return false;
|
|
||||||
InetAddress.getByName(tc.getIp()).isReachable(3000);
|
InetAddress.getByName(tc.getIp()).isReachable(3000);
|
||||||
DatagramSocket socket = new DatagramSocket(0);
|
DatagramSocket socket = new DatagramSocket(0);
|
||||||
socket.connect(InetAddress.getByName(tc.getIp()), tc.getPort());
|
socket.connect(InetAddress.getByName(tc.getIp()), tc.getPort());
|
||||||
|
|
Loading…
Reference in a new issue