mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-15 10:17:20 +00:00
When we get the last NCP TLD, close all datalinks with CLOSE_STAYDOWN
rather than CLOSE_NORMAL.
This commit is contained in:
parent
1d3a2f02e5
commit
d4d5d2f881
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=52266
@ -312,7 +312,7 @@ bundle_LayerFinish(void *v, struct fsm *fp)
|
|||||||
if (bundle_Phase(bundle) != PHASE_DEAD)
|
if (bundle_Phase(bundle) != PHASE_DEAD)
|
||||||
bundle_NewPhase(bundle, PHASE_TERMINATE);
|
bundle_NewPhase(bundle, PHASE_TERMINATE);
|
||||||
for (dl = bundle->links; dl; dl = dl->next)
|
for (dl = bundle->links; dl; dl = dl->next)
|
||||||
datalink_Close(dl, CLOSE_NORMAL);
|
datalink_Close(dl, CLOSE_STAYDOWN);
|
||||||
fsm2initial(fp);
|
fsm2initial(fp);
|
||||||
} else if (fp->proto == PROTO_LCP) {
|
} else if (fp->proto == PROTO_LCP) {
|
||||||
int others_active;
|
int others_active;
|
||||||
|
Loading…
Reference in New Issue
Block a user