summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lcp.c
diff options
context:
space:
mode:
authoramurai <amurai@FreeBSD.org>1995-03-11 15:18:55 +0000
committeramurai <amurai@FreeBSD.org>1995-03-11 15:18:55 +0000
commit4e41b74b9d21768a96f51254ed346d04bb4405af (patch)
tree37ea926bbfbf0a7fb4adb214f5262d8872ba5a52 /usr.sbin/ppp/lcp.c
parent9b4b6386ecfab11f456999cadd482f36e97e6938 (diff)
downloadFreeBSD-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.c4
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);
OpenPOWER on IntegriCloud