Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
some more staticIP fixes
allo7c5f8f997a6b
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.javaindex adb10efe8..da68859cf 100644--- a/htroot/yacy/hello.java+++ b/htroot/yacy/hello.java@@ -108,7 +108,7 @@ public final class hello {// the request came fromif (urls < 0) {boolean isLocalIP = false;- if (serverCore.portForwardingEnabled) {+ if (serverCore.portForwardingEnabled || serverCore.useStaticIP) {try {final InetAddress clientAddress = httpc.dnsResolve(clientip);if (clientAddress != null) {@@ -128,7 +128,7 @@ public final class hello {}// we are only allowed to connect to the client IP address if it's not our own address- if (!isLocalIP) {+ if (!isLocalIP && ! serverCore.useStaticIP) {serverCore.checkInterruption();prop.put(yacySeed.YOURIP, clientip);@@ -199,4 +199,4 @@ public final class hello {return prop;}-}\ No newline at end of file+}