From f648d5a7c30d8218c47af5a3c5dc056cc2650672 Mon Sep 17 00:00:00 2001 From: fendo Date: Thu, 17 Mar 2016 23:34:12 +0100 Subject: [PATCH] Removal MTU size limitation --- debian/changelog | 6 ++++++ l2tpns.c | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) 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; -- 2.20.1