summaryrefslogtreecommitdiff
path: root/main/dnsmgr.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2007-10-01 14:02:26 +0000
committerJoshua Colp <jcolp@digium.com>2007-10-01 14:02:26 +0000
commit8de5a4857ee33a965052d16fb5bb0087075369c0 (patch)
treeda044c420a39ed0e0cede8029ae3a4deb15e8161 /main/dnsmgr.c
parent147688278cd1ef43634f72a57f92c57aa3933027 (diff)
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
Diffstat (limited to 'main/dnsmgr.c')
-rw-r--r--main/dnsmgr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/main/dnsmgr.c b/main/dnsmgr.c
index c9a0f40f4..2761a97b2 100644
--- a/main/dnsmgr.c
+++ b/main/dnsmgr.c
@@ -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);