aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/ppp/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r--usr.sbin/ppp/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c
index 436775051a61..cc0f513a5fb2 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.6 1995/07/06 02:58:57 asami Exp $
+ * $Id: main.c,v 1.8 1995/09/02 17:20:52 amurai Exp $
*
* TODO:
* o Add commands for traffic summary, version display, etc.
@@ -737,7 +737,7 @@ DoLoop()
}
if ((mode & MODE_INTER) && FD_ISSET(netfd, &rfds) &&
- pgroup == tcgetpgrp(0)) {
+ ((mode & MODE_AUTO) || pgroup == tcgetpgrp(0))) {
/* something to read from tty */
ReadTty();
}