[asterisk-commits] russell: branch 1.4 r43564 - /branches/1.4/channels/iax2-provision.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Sun Sep 24 07:58:11 MST 2006


Author: russell
Date: Sun Sep 24 09:58:10 2006
New Revision: 43564

URL: http://svn.digium.com/view/asterisk?rev=43564&view=rev
Log:
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)

Modified:
    branches/1.4/channels/iax2-provision.c

Modified: branches/1.4/channels/iax2-provision.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/channels/iax2-provision.c?rev=43564&r1=43563&r2=43564&view=diff
==============================================================================
--- branches/1.4/channels/iax2-provision.c (original)
+++ branches/1.4/channels/iax2-provision.c Sun Sep 24 09:58:10 2006
@@ -466,15 +466,10 @@
 	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)



More information about the asterisk-commits mailing list