Log the real source port of STUN mapping requests. (#206)
This commit is contained in:
parent
7016902b21
commit
8ffa9030f4
@ -79,6 +79,13 @@ public class StunMappingCandidateHarvester
|
|||||||
= new IceUdpSocketWrapper(new DatagramSocket(face));
|
= new IceUdpSocketWrapper(new DatagramSocket(face));
|
||||||
|
|
||||||
mask = sad.getMappingFor(localSocket);
|
mask = sad.getMappingFor(localSocket);
|
||||||
|
|
||||||
|
/* Record bound address as face. */
|
||||||
|
SocketAddress boundAddr = localSocket.getLocalSocketAddress();
|
||||||
|
if (boundAddr instanceof InetSocketAddress) {
|
||||||
|
face = new TransportAddress((InetSocketAddress)boundAddr, face.getTransport());
|
||||||
|
}
|
||||||
|
|
||||||
if (mask != null)
|
if (mask != null)
|
||||||
{
|
{
|
||||||
logger.info("Discovered public address " + mask
|
logger.info("Discovered public address " + mask
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user