aboutsummaryrefslogtreecommitdiffstats
path: root/main/udptl.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-02 23:55:59 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-11-02 23:55:59 +0000
commit1a3d9c15e058d5938e79839aa292b51a71109ebf (patch)
tree135a675ee7f15a60e635a3fe3b6ff1194de11a26 /main/udptl.c
parent278341b071da1a4abe0ed8804537fd3d5cc9e890 (diff)
Merged revisions 47053 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236) ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@47054 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/udptl.c')
-rw-r--r--main/udptl.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/udptl.c b/main/udptl.c
index 1e0e518cc..91a626c8f 100644
--- a/main/udptl.c
+++ b/main/udptl.c
@@ -1146,7 +1146,7 @@ static int udptl_do_debug(int fd, int argc, char *argv[])
static int udptl_nodebug(int fd, int argc, char *argv[])
{
- if (argc != 2)
+ if (argc != 3)
return RESULT_SHOWUSAGE;
udptldebug = 0;
ast_cli(fd,"UDPTL Debugging Disabled\n");
@@ -1158,7 +1158,7 @@ static char debug_usage[] =
" Enable dumping of all UDPTL packets to and from host.\n";
static char nodebug_usage[] =
- "Usage: udptl nodebug\n"
+ "Usage: udptl debug off\n"
" Disable all UDPTL debugging\n";
static struct ast_cli_entry cli_udptl[] = {
@@ -1170,9 +1170,9 @@ static struct ast_cli_entry cli_udptl[] = {
udptl_do_debug, "Enable UDPTL debugging on IP",
debug_usage },
- { { "udptl", "nodebug", NULL },
+ { { "udptl", "debug", "off", NULL },
udptl_nodebug, "Disable UDPTL debugging",
- nodebug_usage, NULL, NULL },
+ nodebug_usage },
};
void ast_udptl_reload(void)