summaryrefslogtreecommitdiff
path: root/main/udptl.c
diff options
context:
space:
mode:
authorTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:17:39 +0000
committerTilghman Lesher <tilghman@meg.abyt.es>2006-09-21 21:17:39 +0000
commit2b55678e1f559bd1ecd81ba30106b253f3acd1fc (patch)
treef363c53cb57dcc4f7096ee473679d70a1bf1dae7 /main/udptl.c
parent8eece0894350afeeabac14b1c94ebcdaf038e301 (diff)
Remove deprecated CLI apps from the core
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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)