aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-24 14:58:10 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-24 14:58:10 +0000
commit77f30cd6e7f86f6b31790885573d433223f47a23 (patch)
tree38360417afaf41315de6a51d5067c0e4facd42c3
parent65304b2bbef80a4b221f9840ddab99f8f06153a9 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.4@43564 f38db490-d61c-443f-a65b-d21fe96a405b
-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)