Author: toad
Date: 2008-11-06 18:29:27 +0000 (Thu, 06 Nov 2008)
New Revision: 23359

Modified:
   trunk/freenet/src/freenet/node/NodeIPDetector.java
Log:
An old IP address is a poor guess. We should still nag the user...


Modified: trunk/freenet/src/freenet/node/NodeIPDetector.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-11-06 18:24:32 UTC 
(rev 23358)
+++ trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-11-06 18:29:27 UTC 
(rev 23359)
@@ -200,8 +200,9 @@

                if((!addedValidIP) && (oldIPAddress != null) && 
!oldIPAddress.equals(overrideIPAddress)) {
                        addresses.add(oldIPAddress);
-                       if(oldIPAddress.isRealInternetAddress(false, true, 
false))
-                               addedValidIP = true;
+                       // Don't set addedValidIP.
+                       // There is an excellent chance that this is out of 
date.
+                       // So we still want to nag the user, until we have some 
confirmation.
                }

                // Try to pick it up from our connections


Reply via email to