aboutsummaryrefslogtreecommitdiffstats
path: root/main/udptl.c
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:17:39 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2006-09-21 21:17:39 +0000
commit33d8fe4c3e3958f1be6b9587ce419f5b8eaae728 (patch)
treef363c53cb57dcc4f7096ee473679d70a1bf1dae7 /main/udptl.c
parenta8a88e0f99de4ad1809685f6df832d71fbb22cfa (diff)
Remove deprecated CLI apps from the core
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@43449 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'main/udptl.c')
-rw-r--r--main/udptl.c16
1 files changed, 1 insertions, 15 deletions
diff --git a/main/udptl.c b/main/udptl.c
index 51d1fb97b..c7d4b9f8d 100644
--- a/main/udptl.c
+++ b/main/udptl.c
@@ -1135,15 +1135,6 @@ static int udptl_do_debug(int fd, int argc, char *argv[])
return RESULT_SUCCESS;
}
-static int udptl_nodebug_deprecated(int fd, int argc, char *argv[])
-{
- if (argc !=3)
- return RESULT_SHOWUSAGE;
- udptldebug = 0;
- ast_cli(fd,"UDPTL Debugging Disabled\n");
- return RESULT_SUCCESS;
-}
-
static int udptl_nodebug(int fd, int argc, char *argv[])
{
if (argc != 2)
@@ -1161,11 +1152,6 @@ static char nodebug_usage[] =
"Usage: udptl nodebug\n"
" Disable all UDPTL debugging\n";
-static struct ast_cli_entry cli_udptl_no_debug = {
- { "udptl", "no", "debug", NULL },
- udptl_nodebug_deprecated, NULL,
- NULL };
-
static struct ast_cli_entry cli_udptl[] = {
{ { "udptl", "debug", NULL },
udptl_do_debug, "Enable UDPTL debugging",
@@ -1177,7 +1163,7 @@ static struct ast_cli_entry cli_udptl[] = {
{ { "udptl", "nodebug", NULL },
udptl_nodebug, "Disable UDPTL debugging",
- nodebug_usage, NULL, &cli_udptl_no_debug },
+ nodebug_usage, NULL, NULL },
};
void ast_udptl_reload(void)