diff options
author | amurai <amurai@FreeBSD.org> | 1995-03-11 15:18:55 +0000 |
---|---|---|
committer | amurai <amurai@FreeBSD.org> | 1995-03-11 15:18:55 +0000 |
commit | 4e41b74b9d21768a96f51254ed346d04bb4405af (patch) | |
tree | 37ea926bbfbf0a7fb4adb214f5262d8872ba5a52 /usr.sbin/ppp/lcp.c | |
parent | 9b4b6386ecfab11f456999cadd482f36e97e6938 (diff) | |
download | FreeBSD-src-4e41b74b9d21768a96f51254ed346d04bb4405af.zip FreeBSD-src-4e41b74b9d21768a96f51254ed346d04bb4405af.tar.gz |
1.Reducing cpu usage at off connection.
2.Implment Redail function as working correctly.
3.Clean up a code as I notice.
4.Now, RTT getting close to 50ms with ISDN/TA 38400bps !!
Reviewed by: amurai@spec.co.jp
Submitted by: amurai@spec.co.jp
Diffstat (limited to 'usr.sbin/ppp/lcp.c')
-rw-r--r-- | usr.sbin/ppp/lcp.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/lcp.c b/usr.sbin/ppp/lcp.c index e8ffa7f..0f7d9b1 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:$ + * $Id: lcp.c,v 1.2 1995/02/26 12:17:35 amurai Exp $ * * TODO: * o Validate magic number received from peer. @@ -44,6 +44,7 @@ extern void Prompt(); extern void StopIdleTimer(); extern void OsLinkdown(); extern void Cleanup(); +extern struct pppTimer IpcpReportTimer; struct lcpstate LcpInfo; @@ -322,6 +323,7 @@ static void StopAllTimers() { StopTimer(&LcpReportTimer); + StopTimer(&IpcpReportTimer); StopIdleTimer(); StopTimer(&AuthPapInfo.authtimer); StopTimer(&AuthChapInfo.authtimer); |