summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/lqr.c
diff options
context:
space:
mode:
authorbrian <brian@FreeBSD.org>1997-05-24 17:32:42 +0000
committerbrian <brian@FreeBSD.org>1997-05-24 17:32:42 +0000
commit81067cb46e8543e07d85f87008d4ccacf1eabee6 (patch)
treeb216757aa8c78fa7bae8a9c15316cbeffdcce71f /usr.sbin/ppp/lqr.c
parent16ff4223276d7d07622d8962c3924ef714ccff73 (diff)
downloadFreeBSD-src-81067cb46e8543e07d85f87008d4ccacf1eabee6.zip
FreeBSD-src-81067cb46e8543e07d85f87008d4ccacf1eabee6.tar.gz
Fix the reconnect option, and add an explanation to vars.h
Diffstat (limited to 'usr.sbin/ppp/lqr.c')
-rw-r--r--usr.sbin/ppp/lqr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/lqr.c b/usr.sbin/ppp/lqr.c
index aafe340..b66f04e 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.11 1997/05/09 16:16:31 jdp Exp $
+ * $Id: lqr.c,v 1.12 1997/05/19 02:00:05 brian Exp $
*
* o LQR based on RFC1333
*
@@ -110,8 +110,8 @@ SendLqrReport()
*/
LogPrintf(LOG_PHASE_BIT, "** 1 Too many ECHO packets are lost. **\n");
lqmmethod = 0; /* Prevent rcursion via LcpClose() */
+ reconnect(RECON_TRUE);
LcpClose();
- reconnectRequired = 1;
} else {
bp = mballoc(sizeof(struct lqrdata), MB_LQR);
HdlcOutput(PRI_LINK, PROTO_LQR, bp);
@@ -121,8 +121,8 @@ SendLqrReport()
if (echoseq - gotseq > 5) {
LogPrintf(LOG_PHASE_BIT, "** 2 Too many ECHO packets are lost. **\n");
lqmmethod = 0; /* Prevent rcursion via LcpClose() */
+ reconnect(RECON_TRUE);
LcpClose();
- reconnectRequired = 1;
} else
SendEchoReq();
}
OpenPOWER on IntegriCloud