1
0
mirror of https://github.com/yacy/yacy_search_server.git synced 2025-07-17 08:26:08 -04:00

correction of correction to port-forwarding

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@287 6c8d7289-2bf4-0310-a012-ef5d649a1542
This commit is contained in:
orbiter
2005-06-16 11:49:54 +00:00
parent dbda6e1e85
commit 38747857c2

@ -89,8 +89,7 @@ public class hello {
urls = yacyClient.queryUrlCount(remoteSeed);
// if this was not successful, we try to use the reported ip
if ((urls < 0) &&
(!remoteSeed.get("IP","").equalsIgnoreCase(yourip))) {
if ((urls < 0) && (!(reportedip.equals(yourip)))) {
// the other peer does not respond under the ip it reported
// we try again using the ip we got from the http header
remoteSeed.put("IP", reportedip);