Author: nextgens
Date: 2008-04-29 02:58:45 +0000 (Tue, 29 Apr 2008)
New Revision: 19607

Modified:
   trunk/freenet/src/freenet/node/NodeIPDetector.java
Log:
Fix #2306: Local MTU detection broken

Modified: trunk/freenet/src/freenet/node/NodeIPDetector.java
===================================================================
--- trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-04-29 02:44:17 UTC 
(rev 19606)
+++ trunk/freenet/src/freenet/node/NodeIPDetector.java  2008-04-29 02:58:45 UTC 
(rev 19607)
@@ -48,7 +48,7 @@
        /** Last detected IP address */
        FreenetInetAddress[] lastIPAddress;
        /** The minimum reported MTU on all detected interfaces */
-       private int minimumMTU;
+       private int minimumMTU = Integer.MAX_VALUE;
        /** IP address detector */
        private final IPAddressDetector ipDetector;
        /** Plugin manager for plugin IP address detectors e.g. STUN */


Reply via email to