projects
/
l2tpns.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'common-cvs-git-upstream' into fdn-mods
[l2tpns.git]
/
sessionctl.c
diff --git
a/sessionctl.c
b/sessionctl.c
index
cc6a113
..
805b794
100644
(file)
--- a/
sessionctl.c
+++ b/
sessionctl.c
@@
-5,8
+5,6
@@
/* session control */
/* session control */
-char const *cvs_id = "$Id: sessionctl.c,v 1.4 2005/10/11 09:04:53 bodea Exp $";
-
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *f = 0;
int plugin_api_version = PLUGIN_API_VERSION;
static struct pluginfuncs *f = 0;
@@
-58,7
+56,7
@@
int plugin_control(struct param_control *data)
reason = "Requested by administrator.";
if (data->argv[0][0] == 'd')
reason = "Requested by administrator.";
if (data->argv[0][0] == 'd')
- f->sessionshutdown(session, reason,
3, 0
);
+ f->sessionshutdown(session, reason,
CDN_ADMIN_DISC, TERM_ADMIN_RESET
);
else
f->sessionkill(session, reason);
else
f->sessionkill(session, reason);