mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-14 16:33:34 +00:00
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:
2
cli.c
2
cli.c
@@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user