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/main.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/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 4ef527a..2096e61 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.132 1998/06/15 19:05:46 brian Exp $ + * $Id: main.c,v 1.133 1998/06/15 19:06:50 brian Exp $ * * TODO: */ @@ -110,7 +110,7 @@ CloseConnection(int signo) /* NOTE, these are manual, we've done a setsid() */ sig_signal(SIGINT, SIG_IGN); log_Printf(LogPHASE, "Caught signal %d, abort connection(s)\n", signo); - bundle_Down(SignalBundle); + bundle_Down(SignalBundle, CLOSE_STAYDOWN); sig_signal(SIGINT, CloseConnection); } |