summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1998-08-02 06:56:40 +0000
committerbrian <brian@FreeBSD.org>1998-08-02 06:56:40 +0000
commit1312bb150c062ced1db2a2ab034b2eefdcd84693 (patch)
treea3fb709059b54a4405db55f77d85445e6b890fe6 /usr.sbin/ppp/bundle.c
parentd36ff66a00e83e5968e8ef1a0f76edaa7171e693 (diff)
downloadFreeBSD-src-1312bb150c062ced1db2a2ab034b2eefdcd84693.zip
FreeBSD-src-1312bb150c062ced1db2a2ab034b2eefdcd84693.tar.gz
On receipt of a sig 15, do a full bundle_Close() even if
our current phase is PHASE_DEAD as it's possible that there are links stuck in OPENING waiting for a redial timer.
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r--usr.sbin/ppp/bundle.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 559c28b..c59bad4 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 <sys/param.h>
@@ -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;
OpenPOWER on IntegriCloud