]> git.ipfire.org Git - thirdparty/asterisk.git/commit
loader: Process dependencies for built-in modules.
authorCorey Farrell <git@cfware.com>
Thu, 26 Jul 2018 17:52:46 +0000 (13:52 -0400)
committerCorey Farrell <git@cfware.com>
Thu, 26 Jul 2018 19:29:14 +0000 (14:29 -0500)
commitc384a4cdcd004c32d8b0f30068446070dbef6e84
treecf39a74c3ba7c5ed445fe5314abd13cfd599732f
parent9f1041c4d0fa6452ba25f4bba29f6f707bdefd41
loader: Process dependencies for built-in modules.

With the new module loader it was missed that built-in modules never
parsed dependencies from mod->info into vectors of mod.  This caused
manager to be initialized before acl (named_acl).  If manager.conf
used any named ACL's they would not be found and result in no ACL being
applied to the AMI user.

In addition to the manager ACL fix this adds "extconfig" to all builtin
modules which support realtime configuration.  This only matters if one
of the builtin modules is configured with 'preload', depending on
"extconfig" will cause config.c to automatically be initialize during
the preload stage.

Change-Id: I482ed6bca6c1064b05bb538d7861cd7a4f02d9fc
15 files changed:
main/cdr.c
main/cel.c
main/dnsmgr.c
main/dsp.c
main/enum.c
main/features.c
main/http.c
main/indications.c
main/loader.c
main/logger.c
main/manager.c
main/named_acl.c
main/plc.c
main/sounds.c
main/udptl.c