X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=blobdiff_plain;f=modules%2Fbsd-comp.c;h=9d2b12ef047e2c047983e83bd19f77dcfe054a99;hp=3d89d70ee7e37f05ad251586c5b40fecfd7db83b;hb=d16a3985eade5280b8e171f5dd0670a91cba0d39;hpb=a51ffdeea95fdbbb21555408d3e5002ad7069c8a diff --git a/modules/bsd-comp.c b/modules/bsd-comp.c index 3d89d70..9d2b12e 100644 --- a/modules/bsd-comp.c +++ b/modules/bsd-comp.c @@ -41,7 +41,7 @@ * This version is for use with STREAMS under SunOS 4.x, * Digital UNIX, AIX 4.x, and SVR4 systems including Solaris 2. * - * $Id: bsd-comp.c,v 1.19 1996/06/26 00:53:15 paulus Exp $ + * $Id: bsd-comp.c,v 1.21 2004/01/17 05:47:55 carlsonj Exp $ */ #ifdef AIX4 @@ -66,6 +66,10 @@ #define BSD_LITTLE_ENDIAN #endif +#ifdef SOL2 +#include +#endif + #define PACKETPTR mblk_t * #include @@ -215,7 +219,6 @@ bsd_clear(db) db->ratio = 0; db->bytes_out = 0; db->in_count = 0; - db->incomp_count = 0; db->checkpoint = CHECK_GAP; } @@ -741,7 +744,6 @@ bsd_incomp(state, dmsg) if (ent < 0x21 || ent > 0xf9) return; - db->incomp_count++; db->seqno++; ilen = 1; /* count the protocol as 1 byte */ rptr += PPP_HDRLEN;