upnp: hint for wrongly detected local ip address

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7286 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
lotus 2010-10-31 20:05:59 +00:00
parent def4253555
commit 18729351e7

View File

@ -73,6 +73,7 @@ public class UPnP {
try {
if (IGDs == null) IGDs = InternetGatewayDevice.getDevices(discoveryTimeout);
localHostIP = Domains.myPublicLocalIP().getHostAddress();
if (localHostIP.startsWith("127.")) log.logWarning("found odd local address: " + localHostIP + "; UPnP may fail");
} catch (IOException e) {
init = false;
}