summaryrefslogtreecommitdiff
path: root/accel-pptpd/auth_mschap_v1.c
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/auth_mschap_v1.c')
-rw-r--r--accel-pptpd/auth_mschap_v1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/auth_mschap_v1.c b/accel-pptpd/auth_mschap_v1.c
index 88983d3..1cf5eb8 100644
--- a/accel-pptpd/auth_mschap_v1.c
+++ b/accel-pptpd/auth_mschap_v1.c
@@ -222,14 +222,14 @@ static void chap_recv_response(struct chap_auth_data_t *ad, struct chap_hdr_t *h
{
log_error("mschap-v1: id mismatch\n");
chap_send_failure(ad);
- ppp_terminate(ad->ppp);
+ ppp_terminate(ad->ppp, 0);
}
if (msg->val_size!=RESPONSE_VALUE_SIZE)
{
log_error("mschap-v1: value-size should be %i, expected %i\n",RESPONSE_VALUE_SIZE,msg->val_size);
chap_send_failure(ad);
- ppp_terminate(ad->ppp);
+ ppp_terminate(ad->ppp, 0);
}
if (chap_check_response(ad,msg))