diff options
author | brian <brian@FreeBSD.org> | 2002-06-12 00:33:17 +0000 |
---|---|---|
committer | brian <brian@FreeBSD.org> | 2002-06-12 00:33:17 +0000 |
commit | 64df5969679c3ad7b7f9452c2dcaee6a0621e26a (patch) | |
tree | d492060e826fff36baae2f94497a23630e59bb9e /usr.sbin/ppp/pred.c | |
parent | 900ca326699fe7cba94c534173fd85d67cf1cef7 (diff) | |
download | FreeBSD-src-64df5969679c3ad7b7f9452c2dcaee6a0621e26a.zip FreeBSD-src-64df5969679c3ad7b7f9452c2dcaee6a0621e26a.tar.gz |
Understand the following Microsoft Vendor Specific RADIUS attributes:
RAD_MICROSOFT_MS_MPPE_ENCRYPTION_POLICY
RAD_MICROSOFT_MS_MPPE_ENCRYPTION_TYPES
RAD_MICROSOFT_MS_MPPE_RECV_KEY
RAD_MICROSOFT_MS_MPPE_SEND_KEY
These attributes may be supplied by a RADIUS server when MSCHAPv2 is
used to authenticate.
It *should* now be possible to build ppp with -DNODES and still support
CHAP/MSCHAP/MSCHAPv2/MPPE via a RADIUS server, but the code isn't yet
smart enough to do that (building with -DNODES just looses these
facilities).
Sponsored by: Monzoon
Diffstat (limited to 'usr.sbin/ppp/pred.c')
-rw-r--r-- | usr.sbin/ppp/pred.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/ppp/pred.c b/usr.sbin/ppp/pred.c index d286a97..2a81381 100644 --- a/usr.sbin/ppp/pred.c +++ b/usr.sbin/ppp/pred.c @@ -151,7 +151,7 @@ Pred1ResetOutput(void *v) } static void * -Pred1InitInput(struct fsm_opt *o) +Pred1InitInput(struct bundle *bundle, struct fsm_opt *o) { struct pred1_state *state; state = (struct pred1_state *)malloc(sizeof(struct pred1_state)); @@ -161,7 +161,7 @@ Pred1InitInput(struct fsm_opt *o) } static void * -Pred1InitOutput(struct fsm_opt *o) +Pred1InitOutput(struct bundle *bundle, struct fsm_opt *o) { struct pred1_state *state; state = (struct pred1_state *)malloc(sizeof(struct pred1_state)); @@ -300,13 +300,15 @@ Pred1DispOpts(struct fsm_opt *o) } static void -Pred1InitOptsOutput(struct fsm_opt *o, const struct ccp_config *cfg) +Pred1InitOptsOutput(struct bundle *bundle, struct fsm_opt *o, + const struct ccp_config *cfg) { o->hdr.len = 2; } static int -Pred1SetOpts(struct fsm_opt *o, const struct ccp_config *cfg) +Pred1SetOpts(struct bundle *bundle, struct fsm_opt *o, + const struct ccp_config *cfg) { if (o->hdr.len != 2) { o->hdr.len = 2; |