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:
@ -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);
|
||||
|
Reference in New Issue
Block a user