diff options
author | brian <brian@FreeBSD.org> | 1998-06-20 00:19:42 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-20 00:19:42 +0000 |
commit | 6e7ded224d09f6b63debbee1e5db7b1ae4a0a100 (patch) | |
tree | 61871da340727d4a950d33f20362d1b0d2d93c3f /usr.sbin/ppp/mp.c | |
parent | d3ff12efce40503105e4580a0d3213a8793a5e89 (diff) | |
download | FreeBSD-src-6e7ded224d09f6b63debbee1e5db7b1ae4a0a100.zip FreeBSD-src-6e7ded224d09f6b63debbee1e5db7b1ae4a0a100.tar.gz |
Create & use fsm2initial(), a function to bring a
state machine back to ST_INITIAL without going
through any unnecessary TLS/TLF pairs.
Diffstat (limited to 'usr.sbin/ppp/mp.c')
-rw-r--r-- | usr.sbin/ppp/mp.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/mp.c b/usr.sbin/ppp/mp.c index b1539ac..642d535 100644 --- a/usr.sbin/ppp/mp.c +++ b/usr.sbin/ppp/mp.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: mp.c,v 1.8 1998/06/15 19:06:53 brian Exp $ + * $Id: mp.c,v 1.9 1998/06/16 19:40:40 brian Exp $ */ #include <sys/types.h> @@ -294,8 +294,7 @@ mp_Down(struct mp *mp) mpserver_Close(&mp->server); /* CCP goes down with a bang */ - fsm_Down(&mp->link.ccp.fsm); - fsm_Close(&mp->link.ccp.fsm); + fsm2initial(&mp->link.ccp.fsm); /* Received fragments go in the bit-bucket */ while (mp->inbufs) { |