From: Sylvain Rochet Date: Wed, 25 Mar 2015 00:25:18 +0100 Subject: [PATCH] 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 Imported from ppp_2.4.7-2+4.1.debian.tar.xz Signed-off-by: Michael Olbrich --- pppd/ccp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pppd/ccp.h b/pppd/ccp.h index 6f4a2fee0a2c..76446db007c0 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 */