summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/log.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-06-01 03:43:26 +0000
committerbrian <brian@FreeBSD.org>1997-06-01 03:43:26 +0000
commite39002afc27c9ffda52400838c668a0af8e9982c (patch)
treeef1d02091667d6794da32fccb39ee68afa6d5265 /usr.sbin/ppp/log.c
parent0e779533082753004e1e3529858c07205320d59e (diff)
downloadFreeBSD-src-e39002afc27c9ffda52400838c668a0af8e9982c.zip
FreeBSD-src-e39002afc27c9ffda52400838c668a0af8e9982c.tar.gz
Remove initial startup printf's in -direct mode.
Make "same magic" error send a NAK (as per rfc).
Diffstat (limited to 'usr.sbin/ppp/log.c')
-rw-r--r--usr.sbin/ppp/log.c5
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;
OpenPOWER on IntegriCloud