diff options
author | brian <brian@FreeBSD.org> | 1998-06-16 19:40:28 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-06-16 19:40:28 +0000 |
commit | 798ba6f53e138822c35dd3e9b7e6f22683be6648 (patch) | |
tree | 4ee9f1ce3ac701e59513e11466961e922f0782ee /usr.sbin/ppp/bundle.c | |
parent | 4c81e232d390d21d1a5921a78064b139bd24040f (diff) | |
download | FreeBSD-src-798ba6f53e138822c35dd3e9b7e6f22683be6648.zip FreeBSD-src-798ba6f53e138822c35dd3e9b7e6f22683be6648.tar.gz |
Don't bring the modem offline or hangup when ``down lcp''
is done. Instead, behave like ``close lcp''.
Diffstat (limited to 'usr.sbin/ppp/bundle.c')
-rw-r--r-- | usr.sbin/ppp/bundle.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/bundle.c b/usr.sbin/ppp/bundle.c index 56d609f..bf55eda 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.16 1998/06/15 19:05:10 brian Exp $ + * $Id: bundle.c,v 1.17 1998/06/15 19:06:01 brian Exp $ */ #include <sys/param.h> @@ -513,12 +513,12 @@ bundle_Close(struct bundle *bundle, const char *name, int how) } void -bundle_Down(struct bundle *bundle) +bundle_Down(struct bundle *bundle, int how) { struct datalink *dl; for (dl = bundle->links; dl; dl = dl->next) - datalink_Down(dl, CLOSE_STAYDOWN); + datalink_Down(dl, how); } static int |