diff options
author | brian <brian@FreeBSD.org> | 1997-05-19 02:00:16 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1997-05-19 02:00:16 +0000 |
commit | ee01b280507bf1f39a39f9beb574b6653321fd1c (patch) | |
tree | e4d9b90f3eb2066eb4729a5a72f4efff2a30eec9 /usr.sbin/ppp/pap.c | |
parent | 4f2495eff057ea8a9f8c638ee404521f89177a51 (diff) | |
download | FreeBSD-src-ee01b280507bf1f39a39f9beb574b6653321fd1c.zip FreeBSD-src-ee01b280507bf1f39a39f9beb574b6653321fd1c.tar.gz |
Mega update to sort out bad implementations
of reconnect & -background.
o Fix reconnect anomolies.
o Make reconnect apply to failed LQR hangups (& mention in man page).
o Make reconnect effective in -background mode.
o Listen on socket in -background mode.
o Try all phone numbers in -background mode.
o Insist on system arg in -background mode.
o Make a control-connection close command exit in -background mode.
o Output status message to stdout on exit of parent in -background mode.
o Don't notify parent of success too soon.
o Describe termination EX_* code.
o Miscelaneous diagnostic corrections.
o Remove redundant connect_time from modem.c.
o Don't repeatedly DownConnection().
Diffstat (limited to 'usr.sbin/ppp/pap.c')
-rw-r--r-- | usr.sbin/ppp/pap.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c index de3f54a..db1c9aa 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$ + * $Id: pap.c,v 1.9 1997/02/22 16:10:40 peter Exp $ * * TODO: */ @@ -154,6 +154,7 @@ struct mbuf *bp; } else { SendPapCode(php->id, PAP_NAK, "Login incorrect"); LcpClose(); + reconnectCount = 0; } break; case PAP_ACK: @@ -175,6 +176,7 @@ struct mbuf *bp; cp[len] = 0; LogPrintf(LOG_PHASE_BIT, "Received PAP_NAK (%s)\n", cp); LcpClose(); + reconnectCount = 0; break; } } |