Author: toad
Date: 2007-09-21 18:14:22 +0000 (Fri, 21 Sep 2007)
New Revision: 15247

Modified:
   trunk/freenet/src/freenet/node/FNPPacketMangler.java
Log:
comments

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2007-09-21 
18:13:14 UTC (rev 15246)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2007-09-21 
18:14:22 UTC (rev 15247)
@@ -134,6 +134,7 @@
             }
         }
         PeerNode[] peers = crypto.getPeerNodes();
+        // Existing connection, changed IP address?
         if(length > HASH_LENGTH + RANDOM_BYTES_LENGTH + 4 + 6) {
             for(int i=0;i<peers.length;i++) {
                 pn = peers[i];
@@ -156,6 +157,7 @@
             }
         }
         if(node.isStopping()) return;
+        // Disconnected node connecting on a new IP address?
         if(length > Node.SYMMETRIC_KEY_LENGTH /* iv */ + HASH_LENGTH + 2) {
             for(int i=0;i<peers.length;i++) {
                 pn = peers[i];


Reply via email to