diff options
author | brian <brian@FreeBSD.org> | 1998-12-15 19:12:24 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-12-15 19:12:24 +0000 |
commit | c7fe1938fdaed1640b8cf01e08a4c17c7225fd7a (patch) | |
tree | 6ea1f911de2f43b9b9006f5709e3774216c0532a | |
parent | f0b13164d014a676a63e105fd5ed27be255fdcef (diff) | |
download | FreeBSD-src-c7fe1938fdaed1640b8cf01e08a4c17c7225fd7a.zip FreeBSD-src-c7fe1938fdaed1640b8cf01e08a4c17c7225fd7a.tar.gz |
Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>
-rw-r--r-- | usr.sbin/ppp/datalink.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/datalink.c b/usr.sbin/ppp/datalink.c index 902857c..b25068b 100644 --- a/usr.sbin/ppp/datalink.c +++ b/usr.sbin/ppp/datalink.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: datalink.c,v 1.20 1998/10/17 12:28:06 brian Exp $ + * $Id: datalink.c,v 1.21 1998/12/10 18:36:53 brian Exp $ */ #include <sys/types.h> @@ -256,9 +256,9 @@ datalink_UpdateSet(struct descriptor *d, fd_set *r, fd_set *w, fd_set *e, log_Printf(LogCHAT, "%s: Dial attempt %u of %d\n", dl->name, dl->cfg.dial.max - dl->dial_tries, dl->cfg.dial.max); - return datalink_UpdateSet(d, r, w, e, n); } else datalink_LoginDone(dl); + return datalink_UpdateSet(d, r, w, e, n); } else { if (!(dl->physical->type & (PHYS_DDIAL|PHYS_DEDICATED)) && dl->cfg.dial.max) |