aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
authorBrian Somers <brian@FreeBSD.org>1998-12-15 19:12:24 +0000
committerBrian Somers <brian@FreeBSD.org>1998-12-15 19:12:24 +0000
commit8b09cf1cc79a8e113c109388a7af4ee9f7d5340e (patch)
tree16d396c6a0457d780c23a9fbfb102afdc216f7d7 /usr.sbin
parent114c5c65122fffbefea25f5acf3d130c1a675f53 (diff)
downloadsrc-8b09cf1cc79a8e113c109388a7af4ee9f7d5340e.tar.gz
src-8b09cf1cc79a8e113c109388a7af4ee9f7d5340e.zip
Fix a rather bad latency problem (uncovered by the recent timer commit).
Problem reported by: Christopher Hall <hsw@acm.org>
Notes
Notes: svn path=/head/; revision=41830
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/ppp/datalink.c4
1 files changed, 2 insertions, 2 deletions
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 <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)