add hdrlen
authorPaul Mackerras <paulus@samba.org>
Mon, 5 Dec 1994 00:55:24 +0000 (00:55 +0000)
committerPaul Mackerras <paulus@samba.org>
Mon, 5 Dec 1994 00:55:24 +0000 (00:55 +0000)
aix4/ppp_comp.c

index 58f26ad1ad17058d8655b45c9a4a64f306cd4118..181eebb610243a3c1bdecfe38e7eef42abc59b03 100644 (file)
@@ -24,7 +24,7 @@
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
  * OBLIGATION TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS,
  * OR MODIFICATIONS.
  *
- * $Id: ppp_comp.c,v 1.1 1994/12/05 00:29:21 paulus Exp $
+ * $Id: ppp_comp.c,v 1.2 1994/12/05 00:55:24 paulus Exp $
  */
 
 #include <net/net_globals.h>
  */
 
 #include <net/net_globals.h>
@@ -410,7 +410,7 @@ ppp_comp_ccp(q, mp, rcvd)
                if (cp->rstate != NULL
                    && (*cp->rcomp->decomp_init)
                        (cp->rstate, dp + CCP_HDRLEN, clen - CCP_HDRLEN,
                if (cp->rstate != NULL
                    && (*cp->rcomp->decomp_init)
                        (cp->rstate, dp + CCP_HDRLEN, clen - CCP_HDRLEN,
-                        0/* unit */, cp->mru, cp->debug))
+                        0/* unit */, 0, cp->mru, cp->debug))
                    cp->ccp_state = (cp->ccp_state & ~CCP_ERR)
                        | CCP_DECOMP_RUN;
            }
                    cp->ccp_state = (cp->ccp_state & ~CCP_ERR)
                        | CCP_DECOMP_RUN;
            }