mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-07 16:56:45 +08:00
PPP: disable VJ support by default
VJ support is known to be broken when built with some compiler optimizations enabled, disabling it by default until someone needs it and fixes it. It was mostly used with dial-up modems, it is useless with PPPoE and PPPoL2TP and is probably useless as well with cellular modems, so disabling it by default makes sense anyway.
This commit is contained in:
@@ -311,9 +311,11 @@
|
||||
|
||||
/**
|
||||
* VJ_SUPPORT==1: Support VJ header compression.
|
||||
*
|
||||
* BEWARE: It is known to be broken when built with some compiler optimizations enabled.
|
||||
*/
|
||||
#ifndef VJ_SUPPORT
|
||||
#define VJ_SUPPORT 1
|
||||
#define VJ_SUPPORT 0
|
||||
#endif
|
||||
/* VJ compression is only supported for TCP over IPv4 over PPPoS. */
|
||||
#if !PPPOS_SUPPORT || !PPP_IPV4_SUPPORT || !LWIP_TCP
|
||||
|
||||
Reference in New Issue
Block a user