]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
show settings doesn't produce a list
authorOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 15:56:08 +0000 (15:56 +0000)
committerOlle Johansson <oej@edvina.net>
Wed, 25 Oct 2006 15:56:08 +0000 (15:56 +0000)
of similar objects, it should stay a "show"

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@46216 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_sip.c

index d449e4a23cca4f995e3dd4ac18f1d7e5f34151c5..504295e8f20f6d15e9700881802a5a5efb8c1c43 100644 (file)
@@ -16803,11 +16803,6 @@ static struct ast_cli_entry cli_sip_show_domains_deprecated = {
        sip_show_domains, NULL,
         NULL };
 
-static struct ast_cli_entry cli_sip_show_settings_deprecated = {
-       { "sip", "show", "settings", NULL },
-       sip_show_settings, NULL,
-        NULL };
-
 static struct ast_cli_entry cli_sip_show_peers_deprecated = {
        { "sip", "show", "peers", NULL },
        sip_show_peers, NULL,
@@ -16848,9 +16843,9 @@ static struct ast_cli_entry cli_sip[] = {
        sip_show_registry, "List SIP registration status",
        show_reg_usage, NULL, &cli_sip_show_registry_deprecated },
 
-       { { "sip", "list", "settings", NULL },
-       sip_show_settings, "List SIP global settings",
-       show_settings_usage, NULL, &cli_sip_show_settings_deprecated },
+       { { "sip", "show", "settings", NULL },
+       sip_show_settings, "Show SIP global settings",
+       show_settings_usage, NULL, NULL},
 
        { { "sip", "list", "subscriptions", NULL },
        sip_show_subscriptions, "List active SIP subscriptions",