diff options
author | brian <brian@FreeBSD.org> | 1997-05-29 02:29:13 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-29 02:29:13 +0000 |
commit | ba44f8b683fc712aaa6e6d1d27e47582779ffd67 (patch) | |
tree | f9d14336b72bbcc6d9a1b824a28795119e7acd9f /usr.sbin/ppp/main.c | |
parent | cb12eb9f1da3c4f679d96f98608d78b490066b0a (diff) | |
download | FreeBSD-src-ba44f8b683fc712aaa6e6d1d27e47582779ffd67.zip FreeBSD-src-ba44f8b683fc712aaa6e6d1d27e47582779ffd67.tar.gz |
Correct the return of DialModem()
Suggested by: kfurge <kfurge@worldnet.att.net>
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 cae2440..5cf2f4a 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.56 1997/05/24 17:32:40 brian Exp $ + * $Id: main.c,v 1.57 1997/05/26 00:44:06 brian Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -818,7 +818,7 @@ DoLoop() VarDialTries); else LogPrintf(LOG_CHAT_BIT, "Dial attempt %u\n", tries); - if (DialModem()) { + if (DialModem() == EX_DONE) { sleep(1); /* little pause to allow peer starts */ ModemTimeout(); PacketMode(); |