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.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/accel-pppd/auth/auth_chap_md5.c b/accel-pppd/auth/auth_chap_md5.c
index 9abf8ce..632a283 100644
--- a/accel-pppd/auth/auth_chap_md5.c
+++ b/accel-pppd/auth/auth_chap_md5.c
@@ -162,10 +162,8 @@ static void chap_timeout_timer(struct triton_timer_t *t)
ppp_terminate(d->ppp, TERM_USER_ERROR, 0);
else
ppp_auth_failed(d->ppp, NULL);
- } else {
- --d->id;
+ } else
chap_send_challenge(d, 0);
- }
}
static void chap_restart_timer(struct triton_timer_t *t)