Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance
Java decentralizedintranet-searchintranet-search-enginep2pp2p-networkprivacyprivacy-protectionsearch-enginesearchenginewebweb-search-enginewebsearchwebseearch-engine
staticIP fix tried to solve http://www.yacy-forum.de/viewtopic.php?p=18663#18663 D 2006/03/08 07:08:20 YACY yacyClient.publishMySeed mySeed error - not proper: IP is not proper: -UNRESOLVED_PATTERN-
allo7afa5c1b8e3a
diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.javaindex 7c6abf67b..022aa4b5e 100644--- a/htroot/yacy/hello.java+++ b/htroot/yacy/hello.java@@ -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 && ! serverCore.useStaticIP) {+ if (!isLocalIP) {serverCore.checkInterruption();prop.put(yacySeed.YOURIP, clientip);diff --git a/source/de/anomic/yacy/yacySeed.java b/source/de/anomic/yacy/yacySeed.javaindex 0766e4367..d2faba092 100644--- a/source/de/anomic/yacy/yacySeed.java+++ b/source/de/anomic/yacy/yacySeed.java@@ -613,7 +613,8 @@ public class yacySeed {final String ip = (String) this.dna.get(IP);if (ip == null) { return "IP is null"; }if (ip.length() < 8) { return "IP is too short: " + ip; }- if (!natLib.isProper(ip)) { return "IP is not proper: " + ip; }+ //if (!natLib.isProper(ip)) { return "IP is not proper: " + ip; } //this does not work with staticIP+ //TODO: try to resolv it, if its a hostnamereturn null;}