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:
Mark Spencer
2005-08-14 23:47:40 +00:00
parent 5cd67220f4
commit 6f07e6cc4f

View File

@@ -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 */