From: fendo Date: Thu, 17 Mar 2016 22:34:12 +0000 (+0100) Subject: Removal MTU size limitation X-Git-Url: http://git.sameswireless.fr/l2tpns.git/commitdiff_plain/refs/heads/dev-mtu Removal MTU size limitation --- diff --git a/debian/changelog b/debian/changelog index fb7e270..08a8194 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +l2tpns (2.2.1-2atu3.19) unstable; urgency=low + + * remove MRU/MTU limitation. + + -- Fernando Alves Thu, 17 Mar 2016 22:37:38 +0100 + l2tpns (2.2.1-2fdn3.18) unstable; urgency=low * Add of the ppp_keepalive option. diff --git a/l2tpns.c b/l2tpns.c index 1c50a3e..9a5c5cc 100644 --- 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;