diff options
author | brian <brian@FreeBSD.org> | 1999-10-15 20:36:04 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-10-15 20:36:04 +0000 |
commit | cbc0d9236982fa504c7b3f06fb94b3758a089938 (patch) | |
tree | 2f475a5dfbc4d7b992c8a5e7e1282a96e8d516d1 | |
parent | f0dc30299f3fc60d2968270cf1a459394a83b148 (diff) | |
download | FreeBSD-src-cbc0d9236982fa504c7b3f06fb94b3758a089938.zip FreeBSD-src-cbc0d9236982fa504c7b3f06fb94b3758a089938.tar.gz |
When we get the last NCP TLD, close all datalinks with CLOSE_STAYDOWN
rather than CLOSE_NORMAL.
-rw-r--r-- | usr.sbin/ppp/bundle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 9992ab5..1dca617 100644 --- a/usr.sbin/ppp/bundle.c +++ b/usr.sbin/ppp/bundle.c @@ -312,7 +312,7 @@ bundle_LayerFinish(void *v, struct fsm *fp) if (bundle_Phase(bundle) != PHASE_DEAD) bundle_NewPhase(bundle, PHASE_TERMINATE); for (dl = bundle->links; dl; dl = dl->next) - datalink_Close(dl, CLOSE_NORMAL); + datalink_Close(dl, CLOSE_STAYDOWN); fsm2initial(fp); } else if (fp->proto == PROTO_LCP) { int others_active; |