Skip to content
Snippets Groups Projects
Commit 1b420b76 authored by Kevin P. Fleming's avatar Kevin P. Fleming
Browse files

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
parent 6b2ff5db
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment