NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

bin/42390: MPPE doesn't work on NetBSD-current



>Number:         42390
>Category:       bin
>Synopsis:       MPPE doesn't work on NetBSD-current
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 30 18:35:00 +0000 2009
>Originator:     Shuichiro URATA
>Release:        NetBSD-current/amd64
>Organization:
>Environment:
NetBSD charlotte 5.99.22 NetBSD 5.99.22 (CHARLOTTE) #0: Tue Dec  1 01:13:51 JST 
2009  ur@charlotte:/usr/src/sys/arch/amd64/compile/CHARLOTTE amd64

>Description:
pppd uses bool as bitmap. it causes MPPE doesn't work.
Maybe same problem as PR/41627.
>How-To-Repeat:

>Fix:
Index: ccp.h
===================================================================
RCS file: /cvsroot/src/dist/pppd/pppd/ccp.h,v
retrieving revision 1.1.1.1
diff -c -r1.1.1.1 ccp.h
*** ccp.h       20 Feb 2005 10:28:37 -0000      1.1.1.1
--- ccp.h       30 Nov 2009 18:16:55 -0000
***************
*** 39,45 ****
      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_short bsd_bits;         /* # bits/code for BSD Compress */
      u_short deflate_size;     /* lg(window size) for Deflate */
      short method;             /* code for chosen compression method */
--- 39,45 ----
      bool predictor_2;         /* do Predictor-2? */
      bool deflate_correct;     /* use correct code for deflate? */
      bool deflate_draft;               /* use draft RFC code for deflate? */
!     u_short mppe;                     /* do MPPE? */
      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 */



Home | Main Index | Thread Index | Old Index