summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ipcp.c
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-02-02 19:33:40 +0000
committerBrian Somers <brian@FreeBSD.org>1998-02-02 19:33:40 +0000
commit6140ba1177f35afccbaf1c04700fea5809d22ee7 (patch)
treea27ff84247762f2279a6d564837f3165b1f0b398 /usr.sbin/ppp/ipcp.c
parent820de6eb8e0c254d05c6a152854e99f4f686aa51 (diff)
downloadsrc-test2-6140ba1177f35afccbaf1c04700fea5809d22ee7.tar.gz
src-test2-6140ba1177f35afccbaf1c04700fea5809d22ee7.zip
Notes
Diffstat (limited to 'usr.sbin/ppp/ipcp.c')
-rw-r--r--usr.sbin/ppp/ipcp.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/ppp/ipcp.c b/usr.sbin/ppp/ipcp.c
index 258feb9f6aa7..3cad56af87a0 100644
--- a/usr.sbin/ppp/ipcp.c
+++ b/usr.sbin/ppp/ipcp.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: ipcp.c,v 1.50.2.5 1998/02/02 19:32:08 brian Exp $
+ * $Id: ipcp.c,v 1.50.2.6 1998/02/02 19:32:31 brian Exp $
*
* TODO:
* o More RFC1772 backwoard compatibility
@@ -33,6 +33,7 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
+#include <termios.h>
#include <unistd.h>
#include "command.h"
@@ -56,6 +57,7 @@
#include "route.h"
#include "filter.h"
#include "hdlc.h"
+#include "async.h"
#include "link.h"
#include "physical.h"
@@ -252,6 +254,7 @@ IpcpInit(struct bundle *bundle, struct link *l)
IpcpInfo.VJInitComp;
else
IpcpInfo.want_compproto = 0;
+ VjInit(IpcpInfo.VJInitSlots - 1);
IpcpInfo.heis1172 = 0;
IpcpInfo.fsm.maxconfig = 10;