make 'show modules like' not case sensitive (issue #4990)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Kevin P. Fleming
2005-08-22 18:43:32 +00:00
parent 6b2ff5db90
commit 1b420b7696

2
cli.c
View File

@@ -235,7 +235,7 @@ static int climodentryfd = -1;
static int modlist_modentry(const char *module, const char *description, int usecnt, const char *like)
{
/* Comparing the like with the module */
if (strstr(module, like) != NULL) {
if (strcasestr(module, like) ) {
ast_cli(climodentryfd, MODLIST_FORMAT, module, description, usecnt);
return 1;
}