diff options
author | brian <brian@FreeBSD.org> | 1999-02-02 09:35:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 1999-02-02 09:35:17 +0000 |
commit | 61788f8e53914697da6084d3426078b1fd4e5832 (patch) | |
tree | 70917d64158e89114e49b498431dac6ddd482335 /usr.sbin/ppp/pap.c | |
parent | 854609d8d95c79b7da9960c91e5faab6f823b63b (diff) | |
download | FreeBSD-src-61788f8e53914697da6084d3426078b1fd4e5832.zip FreeBSD-src-61788f8e53914697da6084d3426078b1fd4e5832.tar.gz |
Reimplement the previous fix (no response to PAP requests)
at the authentication layer rather than at the PAP layer
so that it also applies to CHAP (no response to CHAP
challenges).
Diffstat (limited to 'usr.sbin/ppp/pap.c')
-rw-r--r-- | usr.sbin/ppp/pap.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c index 02fb329..a87cc82 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.28 1999/01/28 01:56:33 brian Exp $ + * $Id: pap.c,v 1.29 1999/02/01 13:42:25 brian Exp $ * * TODO: */ @@ -138,14 +138,6 @@ PapValidate(struct bundle *bundle, u_char *name, u_char *key, } void -pap_Failed(struct physical *p) -{ - auth_StopTimer(&p->dl->pap); - log_Printf(LogPHASE, "Pap: No response from server\n"); - datalink_AuthNotOk(p->dl); -} - -void pap_Input(struct bundle *bundle, struct mbuf *bp, struct physical *physical) { int len = mbuf_Length(bp); |