summaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/ppp/datalink.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/ppp/datalink.c')
-rw-r--r--usr.sbin/ppp/ppp/datalink.c4
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.