summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chat.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/chat.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/chat.c')
-rw-r--r--usr.sbin/ppp/chat.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ppp/chat.c b/usr.sbin/ppp/chat.c
index 6982f11..ca7a8b1 100644
--- a/usr.sbin/ppp/chat.c
+++ b/usr.sbin/ppp/chat.c
@@ -18,7 +18,7 @@
* Columbus, OH 43221
* (614)451-1883
*
- * $Id: chat.c,v 1.5 1995/09/02 17:20:50 amurai Exp $
+ * $Id: chat.c,v 1.6 1996/03/08 09:03:03 ache Exp $
*
* TODO:
* o Support more UUCP compatible control sequences.
@@ -160,6 +160,7 @@ int sendmode;
result += strlen(phone);
if ((mode & (MODE_INTER|MODE_AUTO)) == MODE_INTER)
fprintf(stderr, "Phone: %s\n", phone);
+ LogPrintf(LOG_PHASE, "Phone: %s\n", phone);
break;
case 'U':
bcopy(VarAuthName, result, strlen(VarAuthName));
OpenPOWER on IntegriCloud