summaryrefslogtreecommitdiffstats
path: root/sys/net/if_sl.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>1995-10-31 19:22:32 +0000
committerpeter <peter@FreeBSD.org>1995-10-31 19:22:32 +0000
commit8ba1da98f9cb498997b1deba65ec76d40273cb71 (patch)
treeb7fff7afa4b0035e26a0a6f1fb5b136bd3ccacff /sys/net/if_sl.c
parentb74381b72cf8a3f37a9fe6010e06aade190a257f (diff)
downloadFreeBSD-src-8ba1da98f9cb498997b1deba65ec76d40273cb71.zip
FreeBSD-src-8ba1da98f9cb498997b1deba65ec76d40273cb71.tar.gz
slcompress: split one of the functions into two parts, to allow use by both
if_sl and if_ppp (from ppp-2.2), eliminating the nearly identical pppcompress.[ch] code. Add maximum VJ compression states argument to sl_compress_init(). if_sl: call sl_compress_init() with the extra argument.
Diffstat (limited to 'sys/net/if_sl.c')
-rw-r--r--sys/net/if_sl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/if_sl.c b/sys/net/if_sl.c
index 0fe601b..67bf528 100644
--- a/sys/net/if_sl.c
+++ b/sys/net/if_sl.c
@@ -31,7 +31,7 @@
* SUCH DAMAGE.
*
* @(#)if_sl.c 8.6 (Berkeley) 2/1/94
- * $Id: if_sl.c,v 1.31 1995/09/10 12:22:59 bde Exp $
+ * $Id: if_sl.c,v 1.32 1995/09/17 23:38:29 ache Exp $
*/
/*
@@ -243,7 +243,7 @@ slinit(sc)
}
sc->sc_buf = sc->sc_ep - SLRMAX;
sc->sc_mp = sc->sc_buf;
- sl_compress_init(&sc->sc_comp);
+ sl_compress_init(&sc->sc_comp, -1);
return (1);
}
OpenPOWER on IntegriCloud