diff options
author | brian <brian@cvs.openbsd.org> | 1999-06-10 09:06:28 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1999-06-10 09:06:28 +0000 |
commit | 9d140a06288ebc456ba3f34b20caacfe08fb7d99 (patch) | |
tree | e84ed0d9a524730118802b7bf0392a35fe6114c6 /usr.sbin | |
parent | 9d0227dbbdb0041ca163fa61123529a952151f1e (diff) |
Never bring a link back up after receiving a terminating signal,
don't rely on already being in PHASE_DEAD.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp/datalink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/ppp/datalink.c b/usr.sbin/ppp/ppp/datalink.c index c844ee96107..3e0136ab69e 100644 --- a/usr.sbin/ppp/ppp/datalink.c +++ b/usr.sbin/ppp/ppp/datalink.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: datalink.c,v 1.19 1999/05/12 10:03:50 brian Exp $ + * $Id: datalink.c,v 1.20 1999/06/10 09:06:27 brian Exp $ */ #include <sys/param.h> @@ -245,7 +245,7 @@ datalink_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, case DATALINK_CLOSED: if ((dl->physical->type & (PHYS_DIRECT|PHYS_DEDICATED|PHYS_BACKGROUND|PHYS_DDIAL)) && - !bundle_IsDead(dl->bundle)) + !dl->bundle->CleaningUp) /* * Our first time in - DEDICATED & DDIAL never come down, and * DIRECT & BACKGROUND get deleted when they enter DATALINK_CLOSED. |