pkgsrc/net/ppp-mppe/patches/patch-ao

22 lines
811 B
Text

$NetBSD: patch-ao,v 1.1.1.1 1999/10/08 04:34:43 dbj Exp $
--- include/net/slcompress.h.orig Sat Sep 18 03:06:38 1999
+++ include/net/slcompress.h Sat Sep 18 03:09:30 1999
@@ -101,7 +122,7 @@
*/
struct cstate {
struct cstate *cs_next; /* next most recently used cstate (xmit only) */
- u_short cs_hlen; /* size of hdr (receive only) */
+ u_int16_t cs_hlen; /* size of hdr (receive only) */
u_char cs_id; /* connection # associated with this state */
u_char cs_filler;
union {
@@ -120,7 +141,7 @@
struct cstate *last_cs; /* most recently used tstate */
u_char last_recv; /* last rcvd conn. id */
u_char last_xmit; /* last sent conn. id */
- u_short flags;
+ u_int16_t flags;
#ifndef SL_NO_STATS
int sls_packets; /* outbound packets */
int sls_compressed; /* outbound compressed packets */