summaryrefslogtreecommitdiff
path: root/accel-pppd/auth/auth_chap_md5.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/auth/auth_chap_md5.c')
-rw-r--r--accel-pppd/auth/auth_chap_md5.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/accel-pppd/auth/auth_chap_md5.c b/accel-pppd/auth/auth_chap_md5.c
index de7f741..87d5eda 100644
--- a/accel-pppd/auth/auth_chap_md5.c
+++ b/accel-pppd/auth/auth_chap_md5.c
@@ -100,6 +100,7 @@ static struct auth_data_t* auth_data_init(struct ppp_t *ppp)
memset(d, 0, sizeof(*d));
d->auth.proto = PPP_CHAP;
+ d->auth.len = 1;
d->ppp = ppp;
return &d->auth;