diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 559c28b9cb89..c59bad4e263f 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: bundle.c,v 1.28 1998/07/28 21:54:50 brian Exp $ + * $Id: bundle.c,v 1.29 1998/07/29 18:21:11 brian Exp $ */ #include @@ -461,9 +461,6 @@ bundle_Close(struct bundle *bundle, const char *name, int how) struct datalink *dl, *this_dl; int others_active; - if (bundle->phase == PHASE_TERMINATE || bundle->phase == PHASE_DEAD) - return; - others_active = 0; this_dl = NULL; diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 0d13bcc8ea25..0ac478583345 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.138 1998/06/27 14:17:28 brian Exp $ + * $Id: main.c,v 1.139 1998/06/27 14:18:07 brian Exp $ * * TODO: */ @@ -85,8 +85,7 @@ void Cleanup(int excode) { SignalBundle->CleaningUp = 1; - if (bundle_Phase(SignalBundle) != PHASE_DEAD) - bundle_Close(SignalBundle, NULL, CLOSE_STAYDOWN); + bundle_Close(SignalBundle, NULL, CLOSE_STAYDOWN); } void