summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/pap.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/pap.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/pap.c')
-rw-r--r--usr.sbin/ppp/pap.c6
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;
}
}
OpenPOWER on IntegriCloud