PPP, CCP, compile-out a bit more MPPE code if MPPE is disabled

This commit is contained in:
Sylvain Rochet
2015-04-18 01:10:25 +02:00
parent 3f2e8ebcdf
commit f753a728dd
2 changed files with 20 additions and 10 deletions

View File

@@ -123,7 +123,9 @@ typedef struct ccp_options {
unsigned int predictor_2 :1; /* do Predictor-2? */
unsigned int :2; /* 2 bit of padding to round out to 8 bits */
#if MPPE_SUPPORT
u8_t mppe; /* MPPE bitfield */
#endif /* MPPE_SUPPORT */
u_short bsd_bits; /* # bits/code for BSD Compress */
u_short deflate_size; /* lg(window size) for Deflate */
short method; /* code for chosen compression method */