Author: dbkr
Date: 2006-06-22 15:43:01 +0000 (Thu, 22 Jun 2006)
New Revision: 9351

Modified:
   trunk/freenet/src/freenet/node/Node.java
Log:
Fix NPE that makes the web interface unaccessable on a fresh install if the 
node can't detect the user's IP address


Modified: trunk/freenet/src/freenet/node/Node.java
===================================================================
--- trunk/freenet/src/freenet/node/Node.java    2006-06-22 10:33:42 UTC (rev 
9350)
+++ trunk/freenet/src/freenet/node/Node.java    2006-06-22 15:43:01 UTC (rev 
9351)
@@ -1244,6 +1244,8 @@

                buildOldAgeUserAlert = new BuildOldAgeUserAlert();

+               primaryIPUndetectedAlert = new IPUndetectedUserAlert();
+
                // Temp files

                nodeConfig.register("tempDir", new File(nodeDir, 
"temp-"+portNumber).toString(), 6, true, "Temp files directory", "Name of 
directory to put temporary files in", 


Reply via email to