summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/modem.c
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1996-03-08 12:34:40 +0000
committerache <ache@FreeBSD.org>1996-03-08 12:34:40 +0000
commit8d299fcc23c4b89811dcad056e9db5cbaaaa5ed8 (patch)
tree095af70927afc059743a98ebc6001323862e79ef /usr.sbin/ppp/modem.c
parent50e6783510dcde971fc81270d8d046349f44ccee (diff)
downloadFreeBSD-src-8d299fcc23c4b89811dcad056e9db5cbaaaa5ed8.zip
FreeBSD-src-8d299fcc23c4b89811dcad056e9db5cbaaaa5ed8.tar.gz
Log phone as LOG_PHASE, it is valuable enough for multi-phone environment.
Add missing return when terminal mode can't be re-established due to modem not opened.
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r--usr.sbin/ppp/modem.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c
index 9f09e97..444c12b 100644
--- a/usr.sbin/ppp/modem.c
+++ b/usr.sbin/ppp/modem.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: modem.c,v 1.12 1996/01/30 11:08:43 dfr Exp $
+ * $Id: modem.c,v 1.13 1996/03/08 09:03:07 ache Exp $
*
* TODO:
*/
@@ -223,6 +223,7 @@ DownConnection()
printf("failed to open modem.\n");
modem = 0;
TtyCommandMode(1);
+ return;
}
TtyTermMode();
}
OpenPOWER on IntegriCloud