summaryrefslogtreecommitdiff
path: root/pppd/ccp.h
diff options
context:
space:
mode:
authorSylvain Rochet <gradator@gradator.net>2015-03-25 00:25:18 +0100
committerPaul Mackerras <paulus@samba.org>2015-08-14 18:12:10 +1000
commit234edab99a6bb250cc9ecd384cca27b0c8b475ce (patch)
tree417d0d0176dcf68e753292169006410e05cfe62a /pppd/ccp.h
parentfe149de624f96629a7f46732055d8f718c74b856 (diff)
downloadppp-234edab99a6bb250cc9ecd384cca27b0c8b475ce.tar.gz
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 <gradator@gradator.net> Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'pppd/ccp.h')
-rw-r--r--pppd/ccp.h2
1 files changed, 1 insertions, 1 deletions
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 */