diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 20:41:51 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-12-16 20:41:51 +0000 |
commit | 297030dbc1a55a11c8d66b7231cf2c9f1902c85a (patch) | |
tree | aca392bc1de93ffab659ef3d82ad6c3a1a2d31d0 | |
parent | 8e8c865414e841945a67e7f4ed298ac7c23488e5 (diff) |
Merged revisions 164806 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r164806 | russell | 2008-12-16 14:35:25 -0600 (Tue, 16 Dec 2008) | 9 lines
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/trunk@164807 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r-- | main/manager.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/main/manager.c b/main/manager.c index f3cda9e82..c5dbfe636 100644 --- a/main/manager.c +++ b/main/manager.c @@ -146,6 +146,7 @@ static struct { } command_blacklist[] = { {{ "module", "load", NULL }}, {{ "module", "unload", NULL }}, + {{ "restart", "gracefully", NULL }}, }; struct mansession { |