diff options
author | brian <brian@FreeBSD.org> | 1997-05-24 17:32:42 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-24 17:32:42 +0000 |
commit | 81067cb46e8543e07d85f87008d4ccacf1eabee6 (patch) | |
tree | b216757aa8c78fa7bae8a9c15316cbeffdcce71f /usr.sbin/ppp/pap.c | |
parent | 16ff4223276d7d07622d8962c3924ef714ccff73 (diff) | |
download | FreeBSD-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/pap.c')
-rw-r--r-- | usr.sbin/ppp/pap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c index db1c9aa..4159d12 100644 --- a/usr.sbin/ppp/pap.c +++ b/usr.sbin/ppp/pap.c @@ -18,7 +18,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pap.c,v 1.9 1997/02/22 16:10:40 peter Exp $ + * $Id: pap.c,v 1.10 1997/05/19 02:00:12 brian Exp $ * * TODO: */ @@ -153,8 +153,8 @@ struct mbuf *bp; NewPhase(PHASE_NETWORK); } else { SendPapCode(php->id, PAP_NAK, "Login incorrect"); + reconnect(RECON_FALSE); LcpClose(); - reconnectCount = 0; } break; case PAP_ACK: @@ -175,8 +175,8 @@ struct mbuf *bp; len = *cp++; cp[len] = 0; LogPrintf(LOG_PHASE_BIT, "Received PAP_NAK (%s)\n", cp); + reconnect(RECON_FALSE); LcpClose(); - reconnectCount = 0; break; } } |