summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/fsm.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/fsm.c')
-rw-r--r--usr.sbin/ppp/fsm.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ppp/fsm.c b/usr.sbin/ppp/fsm.c
index 72d70fb..27f5566 100644
--- a/usr.sbin/ppp/fsm.c
+++ b/usr.sbin/ppp/fsm.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: fsm.c,v 1.10 1997/05/10 01:22:10 brian Exp $
+ * $Id: fsm.c,v 1.11 1997/06/01 14:37:19 brian Exp $
*
* TODO:
* o Refer loglevel for log output
@@ -521,10 +521,11 @@ struct mbuf *bp;
NewState(fp, ST_REQSENT);
break;
case ST_OPENED:
- (fp->LayerFinish)(fp);
- /* Zero Restart counter */
+ (fp->LayerDown)(fp);
(fp->SendTerminateAck)(fp);
- NewState(fp, ST_STOPPED);
+ StartTimer(&fp->FsmTimer); /* Start restart timer */
+ fp->restart = 0;
+ NewState(fp, ST_STOPPING);
break;
}
pfree(bp);
OpenPOWER on IntegriCloud