diff options
Diffstat (limited to 'usr.sbin/ppp/modem.c')
-rw-r--r-- | usr.sbin/ppp/modem.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/usr.sbin/ppp/modem.c b/usr.sbin/ppp/modem.c index b7908c9..b05465c 100644 --- a/usr.sbin/ppp/modem.c +++ b/usr.sbin/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.108 1999/04/03 11:54:00 brian Exp $ + * $Id: modem.c,v 1.109 1999/04/03 12:01:38 brian Exp $ * * TODO: */ @@ -287,9 +287,10 @@ modem_Timeout(void *data) if (modem->fd >= 0) { if (ioctl(modem->fd, TIOCMGET, &modem->mbits) < 0) { - log_Printf(LogPHASE, "%s: ioctl error (%s)!\n", modem->link.name, - strerror(errno)); - datalink_Down(modem->dl, CLOSE_NORMAL); + log_Printf(LogPHASE, "%s: Carrier not required (pseudo tty ?)\n", + modem->link.name); + timer_Stop(&modem->Timer); + modem->mbits = TIOCM_CD; return; } } else |