summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/main.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/main.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/main.c')
-rw-r--r--usr.sbin/ppp/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 0d13bcc..0ac4785 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
OpenPOWER on IntegriCloud