summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/os.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/os.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/os.c')
-rw-r--r--usr.sbin/ppp/os.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/ppp/os.c b/usr.sbin/ppp/os.c
index c5072b2..d2a161a 100644
--- a/usr.sbin/ppp/os.c
+++ b/usr.sbin/ppp/os.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: os.c,v 1.19 1997/05/26 00:44:08 brian Exp $
+ * $Id: os.c,v 1.20 1997/06/01 01:13:03 brian Exp $
*
*/
#include "fsm.h"
@@ -352,7 +352,8 @@ int *ptun;
close(s);
return(-1);
}
- printf("Using interface: %s\r\n", IfDevName);
+ if (!(mode & MODE_DIRECT))
+ printf("Using interface: %s\r\n", IfDevName);
LogPrintf(LOG_PHASE_BIT, "Using interface: %s\n", IfDevName);
close(s);
return(0);
OpenPOWER on IntegriCloud