Additionnal logs for UPnP.
This commit is contained in:
parent
44d286cdee
commit
e348e8a436
@ -75,6 +75,7 @@ public class UPNPHarvester
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
logger.info("Begin UPnP harvesting");
|
||||||
GatewayDevice device = discover.getValidGateway();
|
GatewayDevice device = discover.getValidGateway();
|
||||||
|
|
||||||
if(device == null)
|
if(device == null)
|
||||||
@ -107,6 +108,9 @@ public class UPNPHarvester
|
|||||||
localAddress, externalIPAddress, externalPort,
|
localAddress, externalIPAddress, externalPort,
|
||||||
component, device);
|
component, device);
|
||||||
|
|
||||||
|
logger.info("Add UPnP port mapping: " +
|
||||||
|
externalIPAddress + " " + externalPort);
|
||||||
|
|
||||||
// we have to add the UPNPCandidate and also the base.
|
// we have to add the UPNPCandidate and also the base.
|
||||||
// if we don't add the base, we won't be able to add
|
// if we don't add the base, we won't be able to add
|
||||||
// peer reflexive candidate if someone contact us on the
|
// peer reflexive candidate if someone contact us on the
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user