summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorbrian <brian@cvs.openbsd.org>1998-12-15 19:16:31 +0000
committerbrian <brian@cvs.openbsd.org>1998-12-15 19:16:31 +0000
commit442833470bc33a742fc1fd48d28113a834e9a83f (patch)
tree526dc84eb8fc77ba61120d90ca6fa30fd93c27eb /usr.sbin
parentb96af0188dbabbd03c8d6f29962fff93a02924a1 (diff)
Fix a potentially bad latency problem.
Problem reported by: Christopher Hall <hsw@acm.org>
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/ppp/datalink.c4
1 files changed, 2 insertions, 2 deletions
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 <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)