summaryrefslogtreecommitdiff
path: root/accel-pppd/auth/auth_mschap_v2.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2011-08-16 13:08:54 +0400
committerKozlov Dmitry <dima@server>2011-08-16 13:08:54 +0400
commit2f48232a6f2fcba1707aa772e571aced765aff91 (patch)
tree84762d356f02ac22500c05150ff9b67be27c9f83 /accel-pppd/auth/auth_mschap_v2.c
parentc2cd908d15d70219b7154653ab088837d4c9613a (diff)
downloadaccel-ppp-2f48232a6f2fcba1707aa772e571aced765aff91.tar.gz
accel-ppp-2f48232a6f2fcba1707aa772e571aced765aff91.zip
ppp: improved CCP/IPCP handling
Diffstat (limited to 'accel-pppd/auth/auth_mschap_v2.c')
-rw-r--r--accel-pppd/auth/auth_mschap_v2.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/accel-pppd/auth/auth_mschap_v2.c b/accel-pppd/auth/auth_mschap_v2.c
index 0748951..ebcffb7 100644
--- a/accel-pppd/auth/auth_mschap_v2.c
+++ b/accel-pppd/auth/auth_mschap_v2.c
@@ -541,8 +541,7 @@ static void set_mppe_keys(struct chap_auth_data_t *ad, uint8_t *z_hash, uint8_t
struct ev_mppe_keys_t ev_mppe = {
.ppp = ad->ppp,
- .type = 1 << 2,
- .policy = 1,
+ .policy = -1,
.recv_key = recv_key,
.send_key = send_key,
};