Fix the spelling of UNAVAILABLE in func_devstate CLI completion.

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@193274 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Sean Bright
2009-05-08 15:18:40 +00:00
parent 86d63dc261
commit 0595e95a71

View File

@@ -256,7 +256,7 @@ static char *handle_cli_devstate_change(struct ast_cli_entry *e, int cmd, struct
case CLI_GENERATE:
{
static char * const cmds[] = { "UNKNOWN", "NOT_INUSE", "INUSE", "BUSY",
"UNAVAILALBE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
"UNAVAILABLE", "RINGING", "RINGINUSE", "ONHOLD", NULL };
if (a->pos == e->args + 1)
return ast_cli_complete(a->word, cmds, a->n);