summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--accel-pppd/auth/auth_chap_md5.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/accel-pppd/auth/auth_chap_md5.c b/accel-pppd/auth/auth_chap_md5.c
index 7968762f..309af8a6 100644
--- a/accel-pppd/auth/auth_chap_md5.c
+++ b/accel-pppd/auth/auth_chap_md5.c
@@ -382,8 +382,10 @@ static void chap_recv_response(struct chap_auth_data *ad, struct chap_hdr *hdr)
if (conf_interval)
triton_timer_add(ad->ppp->ses.ctrl->ctx, &ad->interval, 0);
}
- } else
+ } else {
+ chap_send_success(ad, ad->id);
_free(name);
+ }
ad->id++;
}