summaryrefslogtreecommitdiff
path: root/accel-pptpd/cli/std_cmd.c
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-11-16 17:19:33 +0300
committerKozlov Dmitry <dima@server>2010-11-16 17:19:33 +0300
commite95fc28b08669e329916e1cf1eb52fa462ad655a (patch)
treeb584a8719fc5950ae9f683c6ce865ee074e3e450 /accel-pptpd/cli/std_cmd.c
parent50881d86b036e3b658c45e56b57b12a60e1562ef (diff)
downloadaccel-ppp-e95fc28b08669e329916e1cf1eb52fa462ad655a.tar.gz
accel-ppp-e95fc28b08669e329916e1cf1eb52fa462ad655a.zip
log-tcp: fixed incorrect queue overflow handling
ppp: fixed memory leak when ipcp raises error at ConfReq
Diffstat (limited to 'accel-pptpd/cli/std_cmd.c')
-rw-r--r--accel-pptpd/cli/std_cmd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/accel-pptpd/cli/std_cmd.c b/accel-pptpd/cli/std_cmd.c
index 9a5747e8..47604df8 100644
--- a/accel-pptpd/cli/std_cmd.c
+++ b/accel-pptpd/cli/std_cmd.c
@@ -112,12 +112,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, 0, TERM_ADMIN_RESET);
+ ppp_terminate(ppp, TERM_ADMIN_RESET, 0);
}
static void ppp_terminate_hard(struct ppp_t *ppp)
{
- ppp_terminate(ppp, 1, TERM_ADMIN_RESET);
+ ppp_terminate(ppp, TERM_ADMIN_RESET, 1);
}
static void terminate_help(char * const *fields, int fields_cnt, void *client);