Author: toad
Date: 2005-12-07 23:54:56 +0000 (Wed, 07 Dec 2005)
New Revision: 7691
Modified:
trunk/freenet/src/freenet/node/PeerNode.java
trunk/freenet/src/freenet/node/Version.java
Log:
290: (mandatory)
Fix NPE (thanks Tubbie!).
Modified: trunk/freenet/src/freenet/node/PeerNode.java
===================================================================
--- trunk/freenet/src/freenet/node/PeerNode.java 2005-12-07 22:11:56 UTC
(rev 7690)
+++ trunk/freenet/src/freenet/node/PeerNode.java 2005-12-07 23:54:56 UTC
(rev 7691)
@@ -878,6 +878,7 @@
fs.put("physical.udp", peer.toString());
fs.put("identity", HexUtil.bytesToHex(identity));
fs.put("location", Double.toString(currentLocation.getValue()));
+ fs.put("testnet", Boolean.toString(testnetEnabled));
fs.put("version", version);
fs.put("myName", myName);
return fs;
Modified: trunk/freenet/src/freenet/node/Version.java
===================================================================
--- trunk/freenet/src/freenet/node/Version.java 2005-12-07 22:11:56 UTC (rev
7690)
+++ trunk/freenet/src/freenet/node/Version.java 2005-12-07 23:54:56 UTC (rev
7691)
@@ -20,10 +20,10 @@
public static final String protocolVersion = "1.0";
/** The build number of the current revision */
- public static final int buildNumber = 289;
+ public static final int buildNumber = 290;
/** Oldest build of Fred we will talk to */
- public static final int lastGoodBuild = 288;
+ public static final int lastGoodBuild = 290;
/** The highest reported build of fred */
public static int highestSeenBuild = buildNumber;