From: Russell Bryant Date: Tue, 16 Dec 2008 20:41:51 +0000 (+0000) Subject: Merged revisions 164806 via svnmerge from X-Git-Tag: 1.6.2.0-beta1~586 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0859a4e30c5bd05b20176ae579755f7c23147c7b;p=thirdparty%2Fasterisk.git 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: https://origsvn.digium.com/svn/asterisk/trunk@164807 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/main/manager.c b/main/manager.c index f3cda9e827..c5dbfe6366 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 {