summaryrefslogtreecommitdiff
path: root/channels/iax2-provision.c
diff options
context:
space:
mode:
authorRussell Bryant <russell@russellbryant.com>2006-09-24 15:01:09 +0000
committerRussell Bryant <russell@russellbryant.com>2006-09-24 15:01:09 +0000
commit2fa3574c5707aa4c12da351feb02c0acf1468c87 (patch)
treedf4921dbcd35dc3afa3cf3770c29cd0c8dbc5e7a /channels/iax2-provision.c
parentc8b90b75c9f6e19ecec69de882b6dfc2522ffe8d (diff)
Merged revisions 43564 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r43564 | russell | 2006-09-24 10:58:10 -0400 (Sun, 24 Sep 2006) | 5 lines Fix a CLI command registration issue where an erroneous message claiming that "iax2 show provisioning" was already registered. This was because this command was registering itself as both the command, as well as the command it is deprecating. (issue #8022, reported by bjweeks, fixed by myself) ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43565 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/iax2-provision.c')
-rw-r--r--channels/iax2-provision.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/channels/iax2-provision.c b/channels/iax2-provision.c
index 8febd5608..c2c4c88c6 100644
--- a/channels/iax2-provision.c
+++ b/channels/iax2-provision.c
@@ -466,15 +466,10 @@ static int iax_show_provisioning(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
-static struct ast_cli_entry cli_iax2_show_provisioning = {
- { "iax2", "show", "provisioning", NULL },
- iax_show_provisioning, NULL,
- NULL, iax_prov_complete_template };
-
static struct ast_cli_entry cli_iax2_provision[] = {
{ { "iax2", "show", "provisioning", NULL },
iax_show_provisioning, "Display iax provisioning",
- show_provisioning_usage, iax_prov_complete_template, &cli_iax2_show_provisioning },
+ show_provisioning_usage, iax_prov_complete_template, },
};
static int iax_provision_init(void)