diff options
author | brian <brian@FreeBSD.org> | 2000-10-30 00:15:04 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2000-10-30 00:15:04 +0000 |
commit | 06792c58d5296e43c29af28744e2aa418b29c02c (patch) | |
tree | b3faf577f26b4b6238bf2ed28bb1cced590c6645 /usr.sbin/ppp/chap.h | |
parent | c238c956a4e688205b311cfc63717fc84e6d43eb (diff) | |
download | FreeBSD-src-06792c58d5296e43c29af28744e2aa418b29c02c.zip FreeBSD-src-06792c58d5296e43c29af28744e2aa418b29c02c.tar.gz |
Add MPPE and MSChap v2 support (denied and disabled by default)
Submitted by: Ustimenko Semen <semen@iclub.nsu.ru>
Diffstat (limited to 'usr.sbin/ppp/chap.h')
-rw-r--r-- | usr.sbin/ppp/chap.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/ppp/chap.h b/usr.sbin/ppp/chap.h index 7de61b4..edffc42 100644 --- a/usr.sbin/ppp/chap.h +++ b/usr.sbin/ppp/chap.h @@ -46,12 +46,14 @@ struct chap { #ifdef HAVE_DES unsigned NTRespSent : 1; /* Our last response */ int peertries; + u_char authresponse[CHAPAUTHRESPONSELEN]; /* CHAP 81 response */ #endif }; #define descriptor2chap(d) \ ((d)->type == CHAP_DESCRIPTOR ? (struct chap *)(d) : NULL) -#define auth2chap(a) (struct chap *)((char *)a - (int)&((struct chap *)0)->auth) +#define auth2chap(a) \ + ((struct chap *)((char *)a - (int)&((struct chap *)0)->auth)) extern void chap_Init(struct chap *, struct physical *); extern void chap_ReInit(struct chap *); |