summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/ccp.h
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-01-11 17:50:49 +0000
committerbrian <brian@FreeBSD.org>1998-01-11 17:50:49 +0000
commit425b212bdd92037d4fd4a47c670c5d806cf9e0ab (patch)
treed7239e66c5418688f977b6602bcdc8958bf8ed97 /usr.sbin/ppp/ccp.h
parent86a038bcfcbf1e18826c345db5eabf350280087f (diff)
downloadFreeBSD-src-425b212bdd92037d4fd4a47c670c5d806cf9e0ab.zip
FreeBSD-src-425b212bdd92037d4fd4a47c670c5d806cf9e0ab.tar.gz
Make things work when sizeof(long) != 32 (hopefully)
Diffstat (limited to 'usr.sbin/ppp/ccp.h')
-rw-r--r--usr.sbin/ppp/ccp.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.sbin/ppp/ccp.h b/usr.sbin/ppp/ccp.h
index 1be021c..d84a2af 100644
--- a/usr.sbin/ppp/ccp.h
+++ b/usr.sbin/ppp/ccp.h
@@ -15,7 +15,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ccp.h,v 1.12 1998/01/04 20:25:41 brian Exp $
+ * $Id: ccp.h,v 1.13 1998/01/10 01:55:09 brian Exp $
*
* TODO:
*/
@@ -36,14 +36,14 @@
#define TY_DEFLATE 26 /* Deflate (gzip) - rfc 1979 */
struct ccpstate {
- u_long his_proto; /* peer's compression protocol */
- u_long my_proto; /* our compression protocol */
+ int his_proto; /* peer's compression protocol */
+ int my_proto; /* our compression protocol */
int reset_sent; /* If != -1, ignore compressed 'till ack */
int last_reset; /* We can receive more (dups) w/ this id */
- u_long his_reject; /* Request codes rejected by peer */
- u_long my_reject; /* Request codes I have rejected */
+ u_int32_t his_reject; /* Request codes rejected by peer */
+ u_int32_t my_reject; /* Request codes I have rejected */
int out_init; /* Init called for out algorithm */
int in_init; /* Init called for in algorithm */
OpenPOWER on IntegriCloud