Additionnal logs for UPnP.

This commit is contained in:
seb 2011-05-12 10:11:39 +00:00
parent 44d286cdee
commit e348e8a436

View File

@ -75,6 +75,7 @@ public class UPNPHarvester
try
{
logger.info("Begin UPnP harvesting");
GatewayDevice device = discover.getValidGateway();
if(device == null)
@ -107,6 +108,9 @@ public class UPNPHarvester
localAddress, externalIPAddress, externalPort,
component, device);
logger.info("Add UPnP port mapping: " +
externalIPAddress + " " + externalPort);
// we have to add the UPNPCandidate and also the base.
// if we don't add the base, we won't be able to add
// peer reflexive candidate if someone contact us on the