diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 01:31:36 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-12-23 01:31:36 +0300 |
commit | a4c8dd27efa38c5e0a5be2e067e02ebfe207629a (patch) | |
tree | 601d29c6ed44246bc9db760dd1e4c238e66bedc4 /accel-pptpd/cli/std_cmd.c | |
parent | 5d87e39182189250bfa035f0ae9a48c94fe74903 (diff) | |
download | accel-ppp-xebd-a4c8dd27efa38c5e0a5be2e067e02ebfe207629a.tar.gz accel-ppp-xebd-a4c8dd27efa38c5e0a5be2e067e02ebfe207629a.zip |
ppp,radius,cli: set Acct-Terminate-Cause=NAS-Request for sessions terminated by cli
Diffstat (limited to 'accel-pptpd/cli/std_cmd.c')
-rw-r--r-- | accel-pptpd/cli/std_cmd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/cli/std_cmd.c b/accel-pptpd/cli/std_cmd.c index f7e4b65..58fd76b 100644 --- a/accel-pptpd/cli/std_cmd.c +++ b/accel-pptpd/cli/std_cmd.c @@ -238,12 +238,12 @@ static void show_ses_help(char * const *fields, int fields_cnt, void *client) static void ppp_terminate_soft(struct ppp_t *ppp) { - ppp_terminate(ppp, TERM_ADMIN_RESET, 0); + ppp_terminate(ppp, TERM_NAS_REQUEST, 0); } static void ppp_terminate_hard(struct ppp_t *ppp) { - ppp_terminate(ppp, TERM_ADMIN_RESET, 1); + ppp_terminate(ppp, TERM_NAS_REQUEST, 1); } static void terminate_help(char * const *fields, int fields_cnt, void *client); |