diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-02 05:27:53 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-09-02 05:27:53 +0000 |
commit | 82c3385315c8e3905e2981755cc532db84fa4f48 (patch) | |
tree | ee5cd1ddfc1d54e98a53cdf5a1e70cccc4d53a2e /funcs | |
parent | c32f63c825930d9514d13ad9109610775779c665 (diff) |
Merged revisions 284610 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.8
........
r284610 | tilghman | 2010-09-02 00:20:59 -0500 (Thu, 02 Sep 2010) | 10 lines
When optional_api is non-optional, force dependent modules to be loaded.
(closes issue #17707)
Reported by: ira
Patches:
20100819__issue17707__asterisk1.8.diff.txt uploaded by tilghman (license 14)
Tested by: tilghman
Review: https://reviewboard.asterisk.org/r/876/
........
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@284628 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'funcs')
-rw-r--r-- | funcs/func_aes.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/funcs/func_aes.c b/funcs/func_aes.c index 21ee244ab..7cc8f4d57 100644 --- a/funcs/func_aes.c +++ b/funcs/func_aes.c @@ -163,4 +163,8 @@ static int load_module(void) return res ? AST_MODULE_LOAD_DECLINE : AST_MODULE_LOAD_SUCCESS; } -AST_MODULE_INFO_STANDARD(ASTERISK_GPL_KEY, "AES dialplan functions"); +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_DEFAULT, "AES dialplan functions", + .load = load_module, + .unload = unload_module, + .nonoptreq = "res_crypto", + ); |