]> 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:39 +0000 (15:29 -0400)
commite5de8a70f86c5be2af6ba251e0bf21ed31417865
treea623c85e73e7a869e1371f406adef45eb2a13217
parent798f049e828f1b4666bf4e8efd523b50f054c26c
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