diff options
author | Brian Somers <brian@FreeBSD.org> | 1998-02-16 00:01:12 +0000 |
---|---|---|
committer | Brian Somers <brian@FreeBSD.org> | 1998-02-16 00:01:12 +0000 |
commit | 3006ec67fe3d15592a083f3ff7038db84742e9d2 (patch) | |
tree | cb280e30a1c78895a12cd39ea1c93fab811a3f94 /usr.sbin/ppp/ip.c | |
parent | c78db105b59024d57d8bee9a11cb0c02abbb7ed6 (diff) | |
download | src-3006ec67fe3d15592a083f3ff7038db84742e9d2.tar.gz src-3006ec67fe3d15592a083f3ff7038db84742e9d2.zip |
Create struct datalink.
This is a type of physical link that can chat and talk
LCP & CCP. A bundle contains a list of these (only one
in the list for the moment).
The datalink is a type of descriptor, and dials, enters
LCP (& does CCP), kicks the bundle when its FSMs do
something interesting and does the hangup chat script
on the way down. It also handles redials and reconnects.
There are lots of loose ends, and probably lots of bugs,
but the data structures are getting there !
Notes
Notes:
svn path=/cvs2svn/branches/MP/; revision=33415
Diffstat (limited to 'usr.sbin/ppp/ip.c')
-rw-r--r-- | usr.sbin/ppp/ip.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/ip.c b/usr.sbin/ppp/ip.c index 04a82eee0fdf..656bcf119eaf 100644 --- a/usr.sbin/ppp/ip.c +++ b/usr.sbin/ppp/ip.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: ip.c,v 1.38.2.5 1998/02/02 19:32:07 brian Exp $ + * $Id: ip.c,v 1.38.2.6 1998/02/07 20:49:38 brian Exp $ * * TODO: * o Return ICMP message for filterd packet @@ -72,8 +72,7 @@ static void IdleTimeout(void *v) { LogPrintf(LogPHASE, "Idle timer expired.\n"); - reconnect(RECON_FALSE); - bundle_Close(LcpInfo.fsm.bundle, &LcpInfo.fsm); + bundle_Close(LcpInfo.fsm.bundle, NULL, 1); } /* |