Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Sep 1997 02:34:10 +0200 (MET DST)
From:      Eivind Eklund <perhaps@yes.no>
To:        Brian Somers <brian@FreeBSD.ORG>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: cvs commit: src/usr.sbin/ppp lcp.c
Message-ID:  <199709220034.CAA24672@bitbox.follo.net>
In-Reply-To: Brian Somers's message of Sun, 21 Sep 1997 16:02:39 -0700 (PDT)
References:  <199709212302.QAA14109@freefall.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> brian       1997/09/21 16:02:38 PDT
> 
>   Modified files:        (Branch: RELENG_2_2)
>     usr.sbin/ppp         lcp.c 
>   Log:
>   MFC: Sleep for a second before sending the first LCP
>        config request.  This stops us from squirting stuff
>        down a line that still has ECHO turned on because the
>        peer hasn't had a chance to start yet.
>        Lead to the cause by:	Greg Lehey <grog@lemis.com>

Isn't detecting this what the magic number more-or-less was introduced
for?  You can catch looping LCP-negotiation by looking for the same
magic number, and it really seems a pity to waste a second on
connection, as this could be running on really fast links (like TCP or
ISDN links).  Besides, if the other end is slow, 1 second might not be
enough.

Eivind.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199709220034.CAA24672>