mirror of
https://github.com/yacy/yacy_search_server.git
synced 2024-09-19 00:01:41 +02:00
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:
parent
def4253555
commit
18729351e7
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user