From dc0e15a74ed093aab28a91590375e48b189fecad Mon Sep 17 00:00:00 2001 From: Sylvain Rochet Date: Mon, 4 Jun 2012 22:22:37 +0200 Subject: [PATCH] we should reduce nak_buffer[] size --- src/netif/ppp/lcp.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/netif/ppp/lcp.c b/src/netif/ppp/lcp.c index a0d9d669..495ea1f5 100644 --- a/src/netif/ppp/lcp.c +++ b/src/netif/ppp/lcp.c @@ -222,6 +222,7 @@ static int lcp_echos_pending = 0; /* Number of outstanding echo msgs */ static int lcp_echo_number = 0; /* ID number of next echo frame */ static int lcp_echo_timer_running = 0; /* set if a timer is running */ +/* FIXME: do we really need such a large buffer? The typical 1500 bytes seem too much. */ static u_char nak_buffer[PPP_MRU]; /* where we construct a nak packet */ /*