Author: zothar
Date: 2008-01-27 20:59:18 +0000 (Sun, 27 Jan 2008)
New Revision: 17328
Modified:
trunk/freenet/src/freenet/node/NodeIPDetector.java
Log:
comment: we don't throw UnknownHostException for that reason on
ipOverrideString and the code may need review
Modified: trunk/freenet/src/freenet/node/NodeIPDetector.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeIPDetector.java 2008-01-27 20:38:42 UTC
(rev 17327)
+++ trunk/freenet/src/freenet/node/NodeIPDetector.java 2008-01-27 20:59:18 UTC
(rev 17328)
@@ -359,6 +359,7 @@
try {
overrideIPAddress = new
FreenetInetAddress(ipOverrideString, false);
} catch (UnknownHostException e) {
+ // **FIXME** This never happens with current
FreenetInetAddress(String, boolean) code; perhaps it needs review?
String msg = "Unknown host:
"+ipOverrideString+" in config: "+e.getMessage();
Logger.error(this, msg);
System.err.println(msg+" but starting up anyway
with no IP override");