diff options
author | brian <brian@cvs.openbsd.org> | 1998-03-13 00:56:25 +0000 |
---|---|---|
committer | brian <brian@cvs.openbsd.org> | 1998-03-13 00:56:25 +0000 |
commit | 8c687b21c105bcc201351349f6262a3aa8db5935 (patch) | |
tree | e702ebe471db6acceb3d5a2894b65284082b7f75 /usr.sbin | |
parent | 5d3ee0e1d477d2f4a4b3b0e1c75fb8d241856018 (diff) |
Don't send LQRs when the peer has LCP REJ'd them. Send
ECHO LQRs instead.
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/lqr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c index 0d510e89107..4ddbec61d69 100644 --- a/usr.sbin/ppp/lqr.c +++ b/usr.sbin/ppp/lqr.c @@ -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.4 1998/03/12 02:40:42 brian Exp $ + * $Id: lqr.c,v 1.5 1998/03/13 00:56:24 brian Exp $ * * o LQR based on RFC1333 * @@ -214,7 +214,7 @@ StartLqm() memset(&HisLqrData, '\0', sizeof HisLqrData); lqmmethod = LQM_ECHO; - if (Enabled(ConfLqr)) + if (Enabled(ConfLqr) && !REJECTED(lcp, TY_QUALPROTO)) lqmmethod |= LQM_LQR; StopTimer(&LqrTimer); |