Fixes an error introduced in a previous optimization of the canReach() method
This commit is contained in:
parent
a6532a19de
commit
a584494d2d
@ -232,8 +232,7 @@ public class TransportAddress
|
||||
*/
|
||||
public boolean canReach(TransportAddress dst)
|
||||
{
|
||||
return
|
||||
(getTransport() == dst.getTransport())
|
||||
&& (isIPv6() != dst.isIPv6());
|
||||
return (getTransport() == dst.getTransport())
|
||||
&& (isIPv6() == dst.isIPv6());
|
||||
}
|
||||
}
|
||||
|
||||
@ -87,9 +87,9 @@ public class StunCandidateHarvester
|
||||
HostCandidate hostCand = (HostCandidate)cand;
|
||||
|
||||
startResolvingCandidate(hostCand);
|
||||
|
||||
waitForResolutionEnd();
|
||||
}
|
||||
|
||||
waitForResolutionEnd();
|
||||
}
|
||||
|
||||
/**
|
||||
@ -265,4 +265,6 @@ public class StunCandidateHarvester
|
||||
|
||||
base.getParentComponent().addLocalCandidate(srvrRflxCand);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user