From: Paul Mackerras Date: Sat, 14 Sep 1996 05:08:26 +0000 (+0000) Subject: fix counting bug X-Git-Tag: RELEASE_2_3_6~344 X-Git-Url: http://git.ozlabs.org/?p=ppp.git;a=commitdiff_plain;h=be9ecce3c61067bd22186fc1e2cd4355e0f0747d fix counting bug --- diff --git a/NeXT/bsd-comp.c b/NeXT/bsd-comp.c index 1124855..02dc20c 100644 --- a/NeXT/bsd-comp.c +++ b/NeXT/bsd-comp.c @@ -49,7 +49,7 @@ /* * This version is for use with mbufs on BSD-derived systems. * - * $Id: bsd-comp.c,v 1.2 1996/01/18 03:12:26 paulus Exp $ + * $Id: bsd-comp.c,v 1.3 1996/09/14 05:08:26 paulus Exp $ */ #include @@ -245,7 +245,6 @@ bsd_clear(db) db->ratio = 0; db->bytes_out = 0; db->in_count = 0; - db->incomp_count = 0; db->checkpoint = CHECK_GAP; } @@ -734,7 +733,6 @@ bsd_incomp(state, dmsg) if (ent < CI_BSD_COMPRESS || ent > 0xf9) return; - db->incomp_count++; db->seqno++; ilen = 1; /* count the protocol as 1 byte */ rptr += PPP_HDRLEN;