reverted last Commit.

@Orbiter: kannst du dich dann mal drum kümmern, wenn ich versuche die ganze Sache ans Laufen zu bringen, hast du jedesmal was dagegen. Dann mach du es bitte, du wirst ja wissen was du willst...


git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1860 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
allo 19 years ago
parent 7afa5c1b8e
commit 2065138a41

@ -613,8 +613,7 @@ public class yacySeed {
final String ip = (String) this.dna.get(IP); final String ip = (String) this.dna.get(IP);
if (ip == null) { return "IP is null"; } if (ip == null) { return "IP is null"; }
if (ip.length() < 8) { return "IP is too short: " + ip; } if (ip.length() < 8) { return "IP is too short: " + ip; }
//if (!natLib.isProper(ip)) { return "IP is not proper: " + ip; } //this does not work with staticIP if (!natLib.isProper(ip)) { return "IP is not proper: " + ip; } //this does not work with staticIP
//TODO: try to resolv it, if its a hostname
return null; return null;
} }

Loading…
Cancel
Save