Author: toad
Date: 2008-03-01 00:26:34 +0000 (Sat, 01 Mar 2008)
New Revision: 18277
Modified:
trunk/freenet/src/freenet/node/PeerNode.java
Log:
If we have just added a node, its location will be blank. If we then don't send
our location because we don't have its location, it will stay that way.
Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java 2008-03-01 00:02:38 UTC
(rev 18276)
+++ trunk/freenet/src/freenet/node/PeerNode.java 2008-03-01 00:26:34 UTC
(rev 18277)
@@ -1918,8 +1918,7 @@
Message dRouting =
DMT.createRoutingStatus(!disableRoutingHasBeenSetLocally);
try {
- //FIXME: Why is location only if routable, and the
others not?
- if(isRoutable())
+ if(isRealConnection())
sendAsync(locMsg, null, 0, null);
sendAsync(ipMsg, null, 0, null);
sendAsync(timeMsg, null, 0, null);