aboutsummaryrefslogtreecommitdiffstats
path: root/main/manager.c
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 20:35:25 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2008-12-16 20:35:25 +0000
commit36859c4621a812e1290f482a6cad0d2943cf60aa (patch)
treea4a4de984c6a6000309d3c7c73bd5546a0d3d6cc /main/manager.c
parent1b0180203b9b92fd2fe1c453736040097494bbcf (diff)
Add "restart gracefully" to the AMI blacklist of CLI commands.
"module unload" was already identified as a command that can not be used from the AMI. "restart gracefully" effectively unloads all modules, and will run in to the same problems. (closes issue #13894) Reported by: kernelsensei git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@164806 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/manager.c')
-rw-r--r--main/manager.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/main/manager.c b/main/manager.c
index 61ae08a49..c0245ad2a 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -138,6 +138,7 @@ static struct {
} command_blacklist[] = {
{{ "module", "load", NULL }},
{{ "module", "unload", NULL }},
+ {{ "restart", "gracefully", NULL }},
};
struct mansession {