correction of correction to port-forwarding

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@287 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 20 years ago
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);

Loading…
Cancel
Save