mirror of
https://github.com/asterisk/asterisk.git
synced 2025-11-20 16:50:14 +00:00
Don't register the dnsmgr refresh CLI command twice.
(closes issue #10856) Reported by: jamesgolovich Patches: asterisk-dnsmgrclireg.diff.txt uploaded by jamesgolovich (license 176) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84162 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -408,7 +408,6 @@ static int do_reload(int loading)
|
||||
if (ast_pthread_create_background(&refresh_thread, NULL, do_refresh, NULL) < 0) {
|
||||
ast_log(LOG_ERROR, "Unable to start refresh thread.\n");
|
||||
}
|
||||
ast_cli_register(&cli_refresh);
|
||||
}
|
||||
/* make a background refresh happen right away */
|
||||
refresh_sched = ast_sched_add_variable(sched, 100, refresh_list, &master_refresh_info, 1);
|
||||
|
||||
Reference in New Issue
Block a user