diff options
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/ppp/main.c | 10 | ||||
-rw-r--r-- | usr.sbin/ppp/ppp/modem.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/ppp/ppp/main.c b/usr.sbin/ppp/ppp/main.c index e080e93f8a5..5aa9e32d997 100644 --- a/usr.sbin/ppp/ppp/main.c +++ b/usr.sbin/ppp/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.8 1999/02/06 03:22:41 brian Exp $ + * $Id: main.c,v 1.9 1999/03/07 01:03:04 brian Exp $ * * TODO: */ @@ -276,11 +276,10 @@ main(int argc, char **argv) #endif label = ProcessArgs(argc, argv, &mode, &alias); -#ifdef __FreeBSD__ /* - * A FreeBSD hack to dodge a bug in the tty driver that drops output - * occasionally.... I must find the real reason some time. To display - * the dodgy behaviour, comment out this bit, make yourself a large + * A FreeBSD & OpenBSD hack to dodge a bug in the tty driver that drops + * output occasionally.... I must find the real reason some time. To + * display the dodgy behaviour, comment out this bit, make yourself a large * routing table and then run ppp in interactive mode. The `show route' * command will drop chunks of data !!! */ @@ -291,7 +290,6 @@ main(int argc, char **argv) return 2; } } -#endif /* Allow output for the moment (except in direct mode) */ if (mode == PHYS_DIRECT) diff --git a/usr.sbin/ppp/ppp/modem.c b/usr.sbin/ppp/ppp/modem.c index c48e510aad6..b4fb8f11578 100644 --- a/usr.sbin/ppp/ppp/modem.c +++ b/usr.sbin/ppp/ppp/modem.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: modem.c,v 1.6 1999/02/26 21:28:24 brian Exp $ + * $Id: modem.c,v 1.7 1999/03/07 01:03:04 brian Exp $ * * TODO: */ @@ -591,6 +591,8 @@ modem_Open(struct physical *modem, struct bundle *bundle) close(fids[1]); modem->fd = fids[0]; waitpid(pid, &stat, 0); + log_Printf(LogDEBUG, "Using descriptor %d for child\n", + modem->fd); break; } } |