summaryrefslogtreecommitdiff
path: root/accel-pptpd/radius/dm_coa.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-10-19 13:08:48 +0400
committerKozlov Dmitry <dima@server>2010-10-19 13:08:48 +0400
commitb61784a785b48429fe0a75fbcbb9d867eee509f5 (patch)
treec97d5fb3c198b686717099d7e9ad06c4a6a815f0 /accel-pptpd/radius/dm_coa.c
parentf7ac3aa1be2fe2a5bf987728e98544c4a20e57fb (diff)
downloadaccel-ppp-b61784a785b48429fe0a75fbcbb9d867eee509f5.tar.gz
accel-ppp-b61784a785b48429fe0a75fbcbb9d867eee509f5.zip
radius: implemented Acct-Terminate-Cause attribute
Diffstat (limited to 'accel-pptpd/radius/dm_coa.c')
-rw-r--r--accel-pptpd/radius/dm_coa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/accel-pptpd/radius/dm_coa.c b/accel-pptpd/radius/dm_coa.c
index 2fb023c0..84e725b1 100644
--- a/accel-pptpd/radius/dm_coa.c
+++ b/accel-pptpd/radius/dm_coa.c
@@ -136,7 +136,7 @@ static void disconnect_request(struct radius_pd_t *rpd)
rad_packet_free(rpd->dm_coa_req);
rpd->dm_coa_req = NULL;
- ppp_terminate(rpd->ppp, 0);
+ ppp_terminate(rpd->ppp, TERM_ADMIN_RESET, 0);
}
static void coa_request(struct radius_pd_t *rpd)