From 73d09cd5401c297d2ed91a693dcf50aaaa7a20df Mon Sep 17 00:00:00 2001 From: brian Date: Mon, 16 Jun 1997 19:59:41 +0000 Subject: Set netfd to STDOUT_FILENO rather than STDIN_FILENO. --- usr.sbin/ppp/main.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 3943001..f8a9345 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.61 1997/06/11 03:57:48 brian Exp $ + * $Id: main.c,v 1.62 1997/06/16 13:24:59 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -370,7 +370,7 @@ char **argv; mode &= ~MODE_INTER; if (mode & MODE_INTER) { fprintf(VarTerm, "Interactive mode\n"); - netfd = STDIN_FILENO; + netfd = STDOUT_FILENO; } else if (mode & MODE_AUTO) { fprintf(VarTerm, "Automatic Dialer mode\n"); if (dstsystem == NULL) { -- cgit v1.1