Author: toad
Date: 2007-12-15 15:56:36 +0000 (Sat, 15 Dec 2007)
New Revision: 16576

Modified:
   trunk/freenet/src/freenet/node/IPDetectorPluginManager.java
Log:
Redetect the IP after a port forward plugin reports in.

Modified: trunk/freenet/src/freenet/node/IPDetectorPluginManager.java
===================================================================
--- trunk/freenet/src/freenet/node/IPDetectorPluginManager.java 2007-12-15 
15:52:02 UTC (rev 16575)
+++ trunk/freenet/src/freenet/node/IPDetectorPluginManager.java 2007-12-15 
15:56:36 UTC (rev 16576)
@@ -694,6 +694,11 @@
                        // Not much more we can do / want to do for now
                        // FIXME use status.externalPort.
                }
+               node.executor.execute(new Runnable() {
+                       public void run() {
+                               maybeRun();
+                       }
+               }, "Redetect IP after port forward changed");
        }

        public synchronized boolean hasDetectors() {


Reply via email to