Author: nextgens
Date: 2008-11-14 01:04:51 +0000 (Fri, 14 Nov 2008)
New Revision: 23555

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

Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
===================================================================
--- trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-11-14 
01:03:50 UTC (rev 23554)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java        2008-11-14 
01:04:51 UTC (rev 23555)
@@ -950,8 +950,8 @@
                                Logger.normal(this, "We received an unexpected 
JFK(2) message from "+pn.getPeer()+" (time since added: 
"+pn.timeSinceAddedOrRestarted()+" time last 
receive:"+pn.lastReceivedPacketTime()+')');
                        return;
                } else if(!Arrays.equals(myNi, nonceInitiator)){
-                       if(logMINOR)
-                               Logger.minor(this, "Ignoring old JFK(2) 
(different nonce to the one we sent - either a timing artefact or an attempt to 
change the nonce)");
+                       if(shouldLogErrorInHandshake(t1))
+                               Logger.normal(this, "Ignoring old JFK(2) 
(different nonce to the one we sent - either a timing artefact or an attempt to 
change the nonce)");
                        return;
                }
                

_______________________________________________
cvs mailing list
[email protected]
http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs

Reply via email to