diff options
author | brian <brian@FreeBSD.org> | 1997-10-29 01:19:51 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-10-29 01:19:51 +0000 |
commit | 941e2045a2c71da41fadec9bfed70cb37decf91d (patch) | |
tree | 4c2bd79bb14d877ea218862c9460f1013baccc74 /usr.sbin/ppp/os.c | |
parent | addd7d2b5d469a8b3c11cfc9d397c0faad4ade9a (diff) | |
download | FreeBSD-src-941e2045a2c71da41fadec9bfed70cb37decf91d.zip FreeBSD-src-941e2045a2c71da41fadec9bfed70cb37decf91d.tar.gz |
o Bump version to 1.3 to reflect major changes
o Report modem connect time properly
o Report bytes in/out over physical media
o Fix phases (TERMINATE is *higher than* DEAD)
o Do a LayerFinish from LcpDown
o Bring down IPCP & CCP when we enter PHASE_TERMINATE
o Give a new prompt when we go to PHASE_DEAD
o Stop the modem timer properly when idle
o Treat sig 15 like an exiting carrier loss
o Log (DEBUG) offline & online transitions
Diffstat (limited to 'usr.sbin/ppp/os.c')
-rw-r--r-- | usr.sbin/ppp/os.c | 21 |
1 files changed, 2 insertions, 19 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c index 54c18cc..233c535 100644 --- a/usr.sbin/ppp/os.c +++ b/usr.sbin/ppp/os.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: os.c,v 1.27 1997/09/03 02:08:20 brian Exp $ + * $Id: os.c,v 1.28 1997/10/26 01:03:26 brian Exp $ * */ #include <sys/param.h> @@ -240,13 +240,12 @@ OsLinkdown() int Level; if (linkup) { - FsmDown(&CcpFsm); /* CCP must come down */ - s = (char *) inet_ntoa(peer_addr); Level = LogIsKept(LogLINK) ? LogLINK : LogIPCP; LogPrintf(Level, "OsLinkdown: %s\n", s); FsmDown(&IpcpFsm); /* IPCP must come down */ + FsmDown(&CcpFsm); /* CCP must come down */ if (!(mode & MODE_AUTO)) DeleteIfRoutes(0); @@ -393,19 +392,3 @@ OpenTunnel(int *ptun) close(s); return (0); } - -void -OsCloseLink(int flag) -{ - HangupModem(flag); -} - -void -OsAddInOctets(int cnt) -{ -} - -void -OsAddOutOctets(int cnt) -{ -} |