mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-04 23:29:25 +00: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:
parent
729b3da96d
commit
bedb4e4745
@ -303,7 +303,7 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
#define MSCHAP_SUPPORT 0 /* Set > 0 for MSCHAP */
|
||||
#define CBCP_SUPPORT 0 /* Set > 0 for CBCP (NOT FUNCTIONAL!) */
|
||||
#define CCP_SUPPORT 0 /* Set > 0 for CCP */
|
||||
#define VJ_SUPPORT 1 /* Set > 0 for VJ header compression. */
|
||||
#define VJ_SUPPORT 0 /* Set > 0 for VJ header compression. */
|
||||
#define MD5_SUPPORT 1 /* Set > 0 for MD5 (see also CHAP) */
|
||||
|
||||
#endif /* PPP_SUPPORT */
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user