Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/dist/pppd/pppd Don't attempt to store bitmasks in a variable...
details: https://anonhg.NetBSD.org/src/rev/b98912c67ea3
branches: trunk
changeset: 756765:b98912c67ea3
user: dholland <dholland%NetBSD.org@localhost>
date: Sat Jul 31 21:21:17 2010 +0000
description:
Don't attempt to store bitmasks in a variable of type 'bool'.
>From Shuichiro URATA in PR 42390. Should be pulled up to -5.
diffstat:
dist/pppd/pppd/ccp.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 946917928a91 -r b98912c67ea3 dist/pppd/pppd/ccp.h
--- a/dist/pppd/pppd/ccp.h Sat Jul 31 18:38:32 2010 +0000
+++ b/dist/pppd/pppd/ccp.h Sat Jul 31 21:21:17 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: ccp.h,v 1.1.1.1 2005/02/20 10:28:37 cube Exp $ */
+/* $NetBSD: ccp.h,v 1.2 2010/07/31 21:21:17 dholland Exp $ */
/*
* ccp.h - Definitions for PPP Compression Control Protocol.
@@ -39,7 +39,7 @@
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 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