From f73d51f94be28e6c740c36e68a07ac610832a93e Mon Sep 17 00:00:00 2001 From: allo Date: Fri, 3 Mar 2006 19:20:35 +0000 Subject: [PATCH] reverted last change git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@1810 6c8d7289-2bf4-0310-a012-ef5d649a1542 --- htroot/yacy/hello.java | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/htroot/yacy/hello.java b/htroot/yacy/hello.java index 7ecb809b0..da68859cf 100644 --- a/htroot/yacy/hello.java +++ b/htroot/yacy/hello.java @@ -128,14 +128,11 @@ 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); - if(reportedip!=null && !reportedip.equals("")) - remoteSeed.put(yacySeed.IP, reportedip); - else - remoteSeed.put(yacySeed.IP, clientip); + remoteSeed.put(yacySeed.IP, clientip); urls = yacyClient.queryUrlCount(remoteSeed); } }