-/* $NetBSD: if_ppp.c,v 1.36 1997/03/04 21:40:07 mycroft Exp $ */
+/* $NetBSD: if_ppp.c,v 1.39 1997/05/17 21:11:59 christos Exp $ */
/* Id: if_ppp.c,v 1.6 1997/03/04 03:33:00 paulus Exp */
/*
MALLOC(sc->sc_comp, struct slcompress *, sizeof(struct slcompress),
M_DEVBUF, M_NOWAIT);
if (sc->sc_comp)
- sl_compress_init(sc->sc_comp, -1);
+ sl_compress_init(sc->sc_comp);
#endif
#ifdef PPP_COMPRESS
sc->sc_xc_state = NULL;
return (error);
if (sc->sc_comp) {
s = splsoftnet();
- sl_compress_init(sc->sc_comp, *(int *)data);
+ sl_compress_setup(sc->sc_comp, *(int *)data);
splx(s);
}
break;