aboutsummaryrefslogtreecommitdiffstats
path: root/cli.c
diff options
context:
space:
mode:
authorkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-22 18:43:32 +0000
committerkpfleming <kpfleming@f38db490-d61c-443f-a65b-d21fe96a405b>2005-08-22 18:43:32 +0000
commitf6620b3ed220650f3659389233c87caba140cb7b (patch)
treed8fbd64bcce8716664ea8ff3ffebd9e9d40e848a /cli.c
parent3b6dc3c1e0a6724c051bb55bdff4fe6e9f7bf53e (diff)
make 'show modules like' not case sensitive (issue #4990)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@6349 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'cli.c')
-rwxr-xr-xcli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli.c b/cli.c
index c7d55914c..e4ab93357 100755
--- a/cli.c
+++ b/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;
}