diff options
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r-- | usr.sbin/ppp/log.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/log.c b/usr.sbin/ppp/log.c index 0592131..7cd4332 100644 --- a/usr.sbin/ppp/log.c +++ b/usr.sbin/ppp/log.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: log.c,v 1.10 1997/05/07 23:30:48 brian Exp $ + * $Id: log.c,v 1.11 1997/05/26 00:44:05 brian Exp $ * */ #include "defs.h" @@ -75,7 +75,8 @@ int tunno; return(1); } #endif - fprintf(stderr, "Log level is %02x\r\n", loglevel); + if (!(mode & MODE_DIRECT)) + fprintf(stderr, "Log level is %02x\r\n", loglevel); logptr = logbuff; logcnt = 0; logtop = lognext = NULL; |