From 442833470bc33a742fc1fd48d28113a834e9a83f Mon Sep 17 00:00:00 2001 From: brian Date: Tue, 15 Dec 1998 19:16:31 +0000 Subject: Fix a potentially bad latency problem. Problem reported by: Christopher Hall --- usr.sbin/ppp/ppp/datalink.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/ppp/ppp/datalink.c b/usr.sbin/ppp/ppp/datalink.c index 1f3de81ce2b..03d1be2f1c8 100644 --- a/usr.sbin/ppp/ppp/datalink.c +++ b/usr.sbin/ppp/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.3 1998/12/10 18:40:56 brian Exp $ + * $Id: datalink.c,v 1.4 1998/12/15 19:16:30 brian Exp $ */ #include @@ -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) -- cgit v1.2.3