Don't show ECHO LQRs in the LQM log - they're already

show in the LCP log.
This commit is contained in:
Brian Somers 1998-03-20 19:47:30 +00:00
parent 4c2d498275
commit 62043f48c6
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/cvs2svn/branches/MP/; revision=34721

View File

@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
* $Id: lqr.c,v 1.22.2.14 1998/03/16 22:54:07 brian Exp $
* $Id: lqr.c,v 1.22.2.15 1998/03/20 19:47:00 brian Exp $
*
* o LQR based on RFC1333
*
@ -72,8 +72,6 @@ SendEchoReq(struct lcp *lcp)
struct hdlc *hdlc = &link2physical(lcp->fsm.link)->hdlc;
struct echolqr echo;
LogPrintf(LogLQM, "Send echo LQR [%lu]\n", (u_long)hdlc->lqm.echo.seq_sent);
echo.magic = htonl(lcp->want_magic);
echo.signature = htonl(SIGNATURE);
echo.sequence = htonl(hdlc->lqm.echo.seq_sent);
@ -92,7 +90,6 @@ RecvEchoLqr(struct fsm *fp, struct mbuf * bp)
lqr = (struct echolqr *) MBUF_CTOP(bp);
if (ntohl(lqr->signature) == SIGNATURE) {
seq = ntohl(lqr->sequence);
LogPrintf(LogLQM, "Got echo LQR [%d]\n", ntohl(lqr->sequence));
/* careful not to update lqm.echo.seq_recv with older values */
if ((hdlc->lqm.echo.seq_recv > (u_int32_t)0 - 5 && seq < 5) ||
(hdlc->lqm.echo.seq_recv <= (u_int32_t)0 - 5 &&