summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorBenjamin Ford <bford@digium.com>2015-07-15 10:28:00 -0500
committerBenjamin Ford <bford@digium.com>2015-07-15 10:30:08 -0500
commit3384e64ef62b0f61dec9f4b4f345b6db74348ae3 (patch)
tree019540480cdcdc25eae568a75e070f4f26c11b39 /res
parent9dcae23cfceedece83568d2194df00ca62f7d53c (diff)
ARI: Fixed unload mode for unload module.
Changed the unload mode to AST_FORCE_SOFT from AST_FORCE_FIRM, which would unload a module even if it was in use. * Changed unload mode to proper mode ASTERISK-25173 Change-Id: If2402487b5bce05d9770f25f65f5c8e292ad5533
Diffstat (limited to 'res')
-rw-r--r--res/ari/resource_asterisk.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/ari/resource_asterisk.c b/res/ari/resource_asterisk.c
index 4c2948d2b..6fabb2074 100644
--- a/res/ari/resource_asterisk.c
+++ b/res/ari/resource_asterisk.c
@@ -300,7 +300,7 @@ void ast_ari_asterisk_unload_module(struct ast_variable *headers,
struct ast_ari_response *response)
{
int unload_result;
- enum ast_module_unload_mode unload_mode = AST_FORCE_FIRM;
+ enum ast_module_unload_mode unload_mode = AST_FORCE_SOFT;
ast_assert(response != NULL);