Author: toad
Date: 2007-09-26 11:12:52 +0000 (Wed, 26 Sep 2007)
New Revision: 15314
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 2007-09-26
11:05:04 UTC (rev 15313)
+++ trunk/freenet/src/freenet/node/FNPPacketMangler.java 2007-09-26
11:12:52 UTC (rev 15314)
@@ -479,7 +479,6 @@
byte[] random = new byte[paddingLength];
node.fastWeakRandom.nextBytes(random);
System.arraycopy(random, 0, data,
hash.length+iv.length+2+output.length, random.length);
- if(logMINOR) Logger.minor(this, "Sending auth packet (long) to
"+replyTo+" - size "+data.length+" data length: "+output.length);
try {
sendPacket(data, replyTo, pn, 0);
} catch (LocalAddressException e) {
@@ -1563,6 +1562,8 @@
if(logMINOR) Logger.minor(this, "Not sending handshake
to "+handshakeIPs[i]+" for "+pn.getPeer()+" because it's not a real Internet
address and metadata.allowLocalAddresses is not true");
continue;
}
+ if(logMINOR)
+ Logger.minor(this, "Sending handshake to "+peer+" for
"+pn+" ("+i+" of "+handshakeIPs.length);
sendFirstHalfDHPacket(0, negType, ctx.getOurExponential(), pn,
peer);
pn.sentHandshake();
sentCount += 1;