On Saturday 29 December 2007 02:36, robert at freenetproject.org wrote:
> Author: robert
> Date: 2007-12-29 02:36:16 +0000 (Sat, 29 Dec 2007)
> New Revision: 16837
>
> Modified:
> trunk/freenet/src/freenet/node/FNPPacketMangler.java
> Log:
> opps, no... 'changeIP' is while connected, 'auth' is while disconnected
(partially reverts r16836)
It's possible in both cases afaics. So both commits should be reverted. No?
>
> Modified: trunk/freenet/src/freenet/node/FNPPacketMangler.java
> ===================================================================
> --- trunk/freenet/src/freenet/node/FNPPacketMangler.java 2007-12-29
> 02:12:19
UTC (rev 16836)
> +++ trunk/freenet/src/freenet/node/FNPPacketMangler.java 2007-12-29
> 02:36:16
UTC (rev 16837)
> @@ -237,7 +237,7 @@
> for(int i=0;i<peers.length;i++) {
> pn = peers[i];
> if(pn == opn) continue;
> - if(pn.isConnected()) continue;
> + if(!pn.isConnected()) continue;
> if(tryProcess(buf, offset, length,
> pn.getCurrentKeyTracker(), now)) {
> // IP address change
> pn.changedIP(peer);
> @@ -261,6 +261,7 @@
> for(int i=0;i<peers.length;i++) {
> pn = peers[i];
> if(pn == opn) continue;
> + if(pn.isConnected()) continue;
> if(tryProcessAuth(buf, offset, length, pn,
> peer,false, now)) return;
> }
> }
>
> _______________________________________________
> cvs mailing list
> cvs at freenetproject.org
> http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL:
<https://emu.freenetproject.org/pipermail/devl/attachments/20080103/5f387ceb/attachment.pgp>