summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chap.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/chap.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/chap.c')
-rw-r--r--usr.sbin/ppp/chap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c
index 6467fb5..31ba182 100644
--- a/usr.sbin/ppp/chap.c
+++ b/usr.sbin/ppp/chap.c
@@ -17,7 +17,7 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: chap.c,v 1.14 1997/05/10 01:22:06 brian Exp $
+ * $Id: chap.c,v 1.15 1997/05/19 01:59:57 brian Exp $
*
* TODO:
*/
@@ -211,8 +211,8 @@ struct mbuf *bp;
* Peer is not registerd, or response digest is wrong.
*/
ChapOutput(CHAP_FAILURE, chp->id, "Invalid!!", 9);
+ reconnect(RECON_FALSE);
LcpClose();
- reconnectCount = 0;
break;
}
}
OpenPOWER on IntegriCloud