From e348e8a4364db04ff7b236c8d08215951e83145e Mon Sep 17 00:00:00 2001 From: seb Date: Thu, 12 May 2011 10:11:39 +0000 Subject: [PATCH] Additionnal logs for UPnP. --- src/org/ice4j/ice/harvest/UPNPHarvester.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/org/ice4j/ice/harvest/UPNPHarvester.java b/src/org/ice4j/ice/harvest/UPNPHarvester.java index 7d24044..3638681 100644 --- a/src/org/ice4j/ice/harvest/UPNPHarvester.java +++ b/src/org/ice4j/ice/harvest/UPNPHarvester.java @@ -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