diff options
author | brian <brian@FreeBSD.org> | 1997-06-16 19:59:41 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-06-16 19:59:41 +0000 |
commit | 73d09cd5401c297d2ed91a693dcf50aaaa7a20df (patch) | |
tree | b69b38aaa756d5facaa3ec2bd05cc15d9cd78a5f /usr.sbin/ppp/main.c | |
parent | 5d122ca2ef0e80614de2c472efa03fe3116e80be (diff) | |
download | FreeBSD-src-73d09cd5401c297d2ed91a693dcf50aaaa7a20df.zip FreeBSD-src-73d09cd5401c297d2ed91a693dcf50aaaa7a20df.tar.gz |
Set netfd to STDOUT_FILENO rather than STDIN_FILENO.
Diffstat (limited to 'usr.sbin/ppp/main.c')
-rw-r--r-- | usr.sbin/ppp/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |