From: Arran Cudbard-Bell Date: Thu, 9 Feb 2023 03:01:09 +0000 (-0600) Subject: Should be a case insensitive match too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=266339b3ee30fa36d32248b6f68387cf6fef4f25;p=thirdparty%2Ffreeradius-server.git Should be a case insensitive match too --- diff --git a/src/lib/server/module_rlm.c b/src/lib/server/module_rlm.c index 97d70fd8c08..c1e254c7028 100644 --- a/src/lib/server/module_rlm.c +++ b/src/lib/server/module_rlm.c @@ -721,7 +721,7 @@ module_instance_t *module_rlm_by_name_and_method(module_method_t *method, UNUSED /* * If name1 doesn't match, skip it. */ - if (strncmp(methods->name1, p, len) != 0) continue; + if (strncasecmp(methods->name1, p, len) != 0) continue; /* * It may have been a partial match, like "rec",