mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-06 04:30:28 +00:00
Reorder dnsmgr to before other modules (bug #4927)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6332 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -2072,6 +2072,10 @@ int main(int argc, char *argv[])
|
|||||||
printf(term_quit());
|
printf(term_quit());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
|
if (dnsmgr_init()) {
|
||||||
|
printf(term_quit());
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
/* load 'preload' modules, required for access to Realtime-mapped configuration files */
|
/* load 'preload' modules, required for access to Realtime-mapped configuration files */
|
||||||
if (load_modules(1)) {
|
if (load_modules(1)) {
|
||||||
printf(term_quit());
|
printf(term_quit());
|
||||||
@@ -2119,10 +2123,6 @@ int main(int argc, char *argv[])
|
|||||||
printf(term_quit());
|
printf(term_quit());
|
||||||
exit(1);
|
exit(1);
|
||||||
}
|
}
|
||||||
if (dnsmgr_init()) {
|
|
||||||
printf(term_quit());
|
|
||||||
exit(1);
|
|
||||||
}
|
|
||||||
#if 0
|
#if 0
|
||||||
/* This should no longer be necessary */
|
/* This should no longer be necessary */
|
||||||
/* sync cust config and reload some internals in case a custom config handler binded to them */
|
/* sync cust config and reload some internals in case a custom config handler binded to them */
|
||||||
|
Reference in New Issue
Block a user