Fix the spelling of UNAVAILABLE in func_devstate CLI completion.
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@193274 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
parent
cf65f7ec84
commit
5c6e7815cb
|
@ -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);
|
||||
|
|
Reference in New Issue