diff options
author | brian <brian@FreeBSD.org> | 1997-10-07 00:56:58 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-07 00:56:58 +0000 |
commit | 5d5b8675792d627c639016dd4939b030741ba9ec (patch) | |
tree | 83aee588b7d629fee9b19191f5af2432713b462d /usr.sbin/ppp/vjcomp.c | |
parent | 4199113e596c58c5ab93ae60473ac33008898d92 (diff) | |
download | FreeBSD-src-5d5b8675792d627c639016dd4939b030741ba9ec.zip FreeBSD-src-5d5b8675792d627c639016dd4939b030741ba9ec.tar.gz |
Support VJ maximum slot identifiers != 15.
Support VJ slot id compression.
Previously, ppp would negotiate a max slot between 2 & 15
(if asked), and would agree to slot id compression (if asked).
It would then proceed to use 16 slots and no compression
anyway. The result was a rather unusable connection.
Diffstat (limited to 'usr.sbin/ppp/vjcomp.c')
-rw-r--r-- | usr.sbin/ppp/vjcomp.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/vjcomp.c b/usr.sbin/ppp/vjcomp.c index f18f8d6..fef6a97 100644 --- a/usr.sbin/ppp/vjcomp.c +++ b/usr.sbin/ppp/vjcomp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: vjcomp.c,v 1.8 1997/06/09 03:27:43 brian Exp $ + * $Id: vjcomp.c,v 1.9 1997/08/25 00:29:32 brian Exp $ * * TODO: */ @@ -34,9 +34,9 @@ struct slcompress cslc; void -VjInit() +VjInit(int max_state) { - sl_compress_init(&cslc); + sl_compress_init(&cslc, max_state); } void |