From: Sylvain Rochet Date: Tue, 24 Mar 2015 23:25:18 +0000 (+0100) Subject: pppd: Fix ccp_options.mppe type X-Git-Tag: ppp-2.4.8~53 X-Git-Url: http://git.ozlabs.org/?a=commitdiff_plain;h=234edab99a6bb250cc9ecd384cca27b0c8b475ce;p=ppp.git pppd: Fix ccp_options.mppe type This corrects the type of ccp_options.mppe; it is actually a bitfield of MPPE_OPT_* and not a boolean. Signed-off-by: Sylvain Rochet Signed-off-by: Paul Mackerras --- diff --git a/pppd/ccp.h b/pppd/ccp.h index 6f4a2fe..76446db 100644 --- a/pppd/ccp.h +++ b/pppd/ccp.h @@ -37,7 +37,7 @@ typedef struct ccp_options { bool predictor_2; /* do Predictor-2? */ bool deflate_correct; /* use correct code for deflate? */ bool deflate_draft; /* use draft RFC code for deflate? */ - bool mppe; /* do MPPE? */ + u_char mppe; /* MPPE bitfield */ 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 */