diff options
author | brian <brian@FreeBSD.org> | 1998-06-25 22:33:31 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-25 22:33:31 +0000 |
commit | 1e23d0e92ca74f12045a6edbe3af1659468b1133 (patch) | |
tree | 3d61fb0aefd12cb54f86a51a4915c119627010a2 /usr.sbin/ppp/lcp.c | |
parent | c957b12bc95bfb0a1df6e5625df47e96bdf7df94 (diff) | |
download | FreeBSD-src-1e23d0e92ca74f12045a6edbe3af1659468b1133.zip FreeBSD-src-1e23d0e92ca74f12045a6edbe3af1659468b1133.tar.gz |
Add ``ipcp'' as an optional argument to ``open'', and make
open capable of re-negotiatiating the various layers.
It is now possible to change various link options and then
re-open the relevant layer, making the changes effective -
for example, switching off VJ compression or starting ECHO
LQRs on-the-fly.
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index ddddfb9..81d086c 100644 --- a/usr.sbin/ppp/lcp.c +++ b/usr.sbin/ppp/lcp.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: lcp.c,v 1.58 1998/05/29 18:32:40 brian Exp $ + * $Id: lcp.c,v 1.59 1998/06/15 19:06:13 brian Exp $ * * TODO: * o Limit data field length by MRU @@ -414,6 +414,7 @@ LcpLayerDown(struct fsm *fp) log_Printf(LogLCP, "%s: LcpLayerDown\n", fp->link->name); hdlc_StopTimer(&p->hdlc); lqr_StopTimer(p); + lcp_Setup(fsm2lcp(fp), 0); } static void |