Author: toad
Date: 2006-11-15 19:57:10 +0000 (Wed, 15 Nov 2006)
New Revision: 10938

Modified:
   trunk/freenet/src/freenet/io/comm/UdpSocketManager.java
Log:
Make it GRE minus 28, in fact.

Modified: trunk/freenet/src/freenet/io/comm/UdpSocketManager.java
===================================================================
--- trunk/freenet/src/freenet/io/comm/UdpSocketManager.java     2006-11-15 
19:56:11 UTC (rev 10937)
+++ trunk/freenet/src/freenet/io/comm/UdpSocketManager.java     2006-11-15 
19:57:10 UTC (rev 10938)
@@ -637,6 +637,6 @@
      * @return The maximum packet size supported by this SocketManager.
      */
     public int getMaxPacketSize() {
-        return 1492-(20+8); // 1492 = PPPoE, minus IP headers (20), minus UDP 
headers (8)
+        return 1476-(20+8); // 1492 = PPPoE, minus IP headers (20), minus UDP 
headers (8)
     }
 }


Reply via email to