summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/bundle.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>2001-02-04 01:08:22 +0000
committerbrian <brian@FreeBSD.org>2001-02-04 01:08:22 +0000
commit75b98b19e66ca2d1d64e6228ea1f70ddede7e6a8 (patch)
treec6b1721da500439670285d550baee813142512f9 /usr.sbin/ppp/bundle.c
parent2b4420e8f9beb187125c4fcc9a5844c4a510c3ef (diff)
downloadFreeBSD-src-75b98b19e66ca2d1d64e6228ea1f70ddede7e6a8.zip
FreeBSD-src-75b98b19e66ca2d1d64e6228ea1f70ddede7e6a8.tar.gz
Untangle some cunfusion between the CLOSE_STAYDOWN, CLOSE_LCP and
CLOSE_NORMAL meanings. CLOSE_NORMAL doesn't change the currently required state, the others do. This should stop ppp from entering DATALINK_READY when LCP shutdown doesn't end up happening cleanly. Bump our version number to reflect this change.
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r--usr.sbin/ppp/bundle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c
index 5e808de..34f7a02 100644
--- a/usr.sbin/ppp/bundle.c
+++ b/usr.sbin/ppp/bundle.c
@@ -376,7 +376,7 @@ bundle_Close(struct bundle *bundle, const char *name, int how)
switch (how) {
case CLOSE_LCP:
datalink_DontHangup(dl);
- /* fall through */
+ break;
case CLOSE_STAYDOWN:
datalink_StayDown(dl);
break;
OpenPOWER on IntegriCloud