Removal MTU size limitation dev-mtu
authorfendo <fendo@bi12info.com>
Thu, 17 Mar 2016 22:34:12 +0000 (23:34 +0100)
committerfendo <fendo@bi12info.com>
Thu, 17 Mar 2016 22:34:12 +0000 (23:34 +0100)
debian/changelog
l2tpns.c

index fb7e270..08a8194 100644 (file)
@@ -1,3 +1,9 @@
+l2tpns (2.2.1-2atu3.19) unstable; urgency=low
+
+  * remove MRU/MTU limitation.
+
+ -- Fernando Alves <fendo@sameswifi.fr>  Thu, 17 Mar 2016 22:37:38 +0100
+
 l2tpns (2.2.1-2fdn3.18) unstable; urgency=low
 
   * Add of the ppp_keepalive option.
index 1c50a3e..9a5c5cc 100644 (file)
--- a/l2tpns.c
+++ b/l2tpns.c
@@ -5390,8 +5390,8 @@ static void update_config()
 
        // reset MRU/MSS globals
        MRU = config->l2tp_mtu - L2TP_HDRS;
-       if (MRU > PPPoE_MRU)
-               MRU = PPPoE_MRU;
+       //if (MRU > PPPoE_MRU)
+       //      MRU = PPPoE_MRU;
 
        MSS = MRU - TCP_HDRS;