diff options
author | brian <brian@FreeBSD.org> | 1998-03-13 00:55:16 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1998-03-13 00:55:16 +0000 |
commit | 016c85730a38238d6141fa7c3929963b2cf4415e (patch) | |
tree | 3adbf106ddcf7312d8c161f4e761d95b998c4c0e | |
parent | 0d78faee3c2cd5c8fcd19e91114aba344b68a2a9 (diff) | |
download | FreeBSD-src-016c85730a38238d6141fa7c3929963b2cf4415e.zip FreeBSD-src-016c85730a38238d6141fa7c3929963b2cf4415e.tar.gz |
MFMP: Don't send LQRs when the peer has LCP REJ'd them. Send
ECHO LQRs instead.
-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 6303453..d83c6c5 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.22 1998/01/21 02:15:19 brian Exp $ + * $Id: lqr.c,v 1.23 1998/03/12 02:23:40 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); |