[freenet-dev] [freenet-cvs] r16837 - trunk/freenet/src/freenet/node

Matthew Toseland toad at amphibian.dyndns.org
Thu Jan 3 15:23:14 UTC 2008


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 : http://emu.freenetproject.org/pipermail/devl/attachments/20080103/5f387ceb/attachment.pgp 


More information about the Devl mailing list