diff --git a/usr.sbin/ppp/datalink.c b/usr.sbin/ppp/datalink.c index 902857c55b44..b25068b32b97 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 @@ -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)