From b61784a785b48429fe0a75fbcbb9d867eee509f5 Mon Sep 17 00:00:00 2001 From: Kozlov Dmitry Date: Tue, 19 Oct 2010 13:08:48 +0400 Subject: radius: implemented Acct-Terminate-Cause attribute --- accel-pptpd/auth/auth_pap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'accel-pptpd/auth/auth_pap.c') diff --git a/accel-pptpd/auth/auth_pap.c b/accel-pptpd/auth/auth_pap.c index b044f640..e1b48bde 100644 --- a/accel-pptpd/auth/auth_pap.c +++ b/accel-pptpd/auth/auth_pap.c @@ -210,7 +210,7 @@ static int pap_recv_req(struct pap_auth_data_t *p, struct pap_hdr_t *hdr) log_ppp_warn("PAP: authentication error\n"); pap_send_nak(p, hdr->id); if (p->started) - ppp_terminate(p->ppp, 0); + ppp_terminate(p->ppp, TERM_AUTH_ERROR, 0); else auth_failed(p->ppp); ret=-1; -- cgit v1.2.3