Author: toad
Date: 2007-12-07 12:32:11 +0000 (Fri, 07 Dec 2007)
New Revision: 16391

Modified:
   trunk/freenet/src/freenet/node/DarknetPeerNode.java
Log:
we do want to connect to incompatible nodes

Modified: trunk/freenet/src/freenet/node/DarknetPeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/DarknetPeerNode.java 2007-12-07 12:27:41 UTC 
(rev 16390)
+++ trunk/freenet/src/freenet/node/DarknetPeerNode.java 2007-12-07 12:32:11 UTC 
(rev 16391)
@@ -1520,12 +1520,8 @@
                if(isBurstOnly) {
                        boolean fetchARKFlag = false;
                        listeningHandshakeBurstCount++;
-                       if(verifiedIncompatibleOlderVersion || 
verifiedIncompatibleNewerVersion) { 
-                               // Let them know we're here, but have no hope 
of connecting
-                               // Send one packet only.
+                       if(listeningHandshakeBurstCount >= 
listeningHandshakeBurstSize) {
                                listeningHandshakeBurstCount = 0;
-                       } else if(listeningHandshakeBurstCount >= 
listeningHandshakeBurstSize) {
-                               listeningHandshakeBurstCount = 0;
                                fetchARKFlag = true;
                        }
                        if(listeningHandshakeBurstCount == 0) {  // 0 only if 
we just reset it above


Reply via email to