summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-10-07 00:56:58 +0000
committerbrian <brian@FreeBSD.org>1997-10-07 00:56:58 +0000
commit5d5b8675792d627c639016dd4939b030741ba9ec (patch)
tree83aee588b7d629fee9b19191f5af2432713b462d /usr.sbin/ppp/main.c
parent4199113e596c58c5ab93ae60473ac33008898d92 (diff)
downloadFreeBSD-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/main.c')
-rw-r--r--usr.sbin/ppp/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 8eb55fa..9e07a6a 100644
--- a/usr.sbin/ppp/main.c
+++ b/usr.sbin/ppp/main.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: main.c,v 1.80 1997/09/21 20:26:46 brian Exp $
+ * $Id: main.c,v 1.81 1997/09/22 00:46:55 brian Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -60,7 +60,7 @@
#endif
#endif
-extern void VjInit(), AsyncInit();
+extern void VjInit(int), AsyncInit();
extern void AsyncInput();
extern int SelectSystem();
@@ -501,7 +501,7 @@ PacketMode()
return;
}
AsyncInit();
- VjInit();
+ VjInit(15);
LcpInit();
IpcpInit();
CcpInit();
OpenPOWER on IntegriCloud