Skip to content

Distributed Peer-to-Peer Web Search Engine and Intranet Search Appliance

*) correcting version number for remote port forwarding feature check

theli98230a67f0e7
diff --git a/source/de/anomic/yacy/yacyClient.java b/source/de/anomic/yacy/yacyClient.java
index abeb60bc9..29e5654ff 100644
--- a/source/de/anomic/yacy/yacyClient.java
+++ b/source/de/anomic/yacy/yacyClient.java
@@ -147,7 +147,7 @@ public class yacyClient {
*
* @see serverCore#portForwardingEnabled
*/
- if ((!serverCore.portForwardingEnabled) || (otherPeerVersion > (float)0.383)) {
+ if ((!serverCore.portForwardingEnabled) || (otherPeerVersion >= (float)0.383)) {
String mytype = (String) result.get("yourtype");
if (mytype == null) mytype = "junior";
if ((yacyCore.seedDB.mySeed.get("PeerType", "junior").equals("principal")) && (mytype.equals("senior"))) mytype = "principal";