diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-20 19:35:02 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2010-07-20 19:35:02 +0000 |
commit | 771cdeecd161c957e978308048906c8ac3508717 (patch) | |
tree | 14b50e57a2595242548184d532cbeeedf416020a /res/res_crypto.c | |
parent | a551cc79ac0419a2118ed04f54d3204e8315987c (diff) |
Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@278132 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_crypto.c')
-rw-r--r-- | res/res_crypto.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_crypto.c b/res/res_crypto.c index 06feefd07..cb87eeec3 100644 --- a/res/res_crypto.c +++ b/res/res_crypto.c @@ -637,8 +637,9 @@ static int unload_module(void) } /* needs usecount semantics defined */ -AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS, "Cryptographic Digital Signatures", +AST_MODULE_INFO(ASTERISK_GPL_KEY, AST_MODFLAG_GLOBAL_SYMBOLS | AST_MODFLAG_LOAD_ORDER, "Cryptographic Digital Signatures", .load = load_module, .unload = unload_module, .reload = reload, + .load_pri = AST_MODPRI_CHANNEL_DEPEND, /*!< Since we don't have a config file, we could move up to REALTIME_DEPEND, if necessary */ ); |