diff options
author | brian <brian@FreeBSD.org> | 1999-06-10 09:06:30 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-06-10 09:06:30 +0000 |
commit | fa9febb9acef2ba29d2f7961592d7428ec050fb4 (patch) | |
tree | 659ba84369bce30a6c81c5b4b081113af2afd4b3 /usr.sbin/ppp | |
parent | 500be34fdd7ebbcae8abe0f1f72963fd66b5d851 (diff) | |
download | FreeBSD-src-fa9febb9acef2ba29d2f7961592d7428ec050fb4.zip FreeBSD-src-fa9febb9acef2ba29d2f7961592d7428ec050fb4.tar.gz |
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/ppp')
-rw-r--r-- | usr.sbin/ppp/datalink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/datalink.c b/usr.sbin/ppp/datalink.c index a3b65b7..e51a2fb 100644 --- a/usr.sbin/ppp/datalink.c +++ b/usr.sbin/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.38 1999/05/08 11:06:24 brian Exp $ + * $Id: datalink.c,v 1.39 1999/05/12 09:48:47 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. |