]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix the '$module.$method1' match. #2702 2705/head
authorJorge Pereira <jpereiran@gmail.com>
Mon, 20 May 2019 16:55:49 +0000 (13:55 -0300)
committerJorge Pereira <jpereiran@gmail.com>
Mon, 20 May 2019 16:55:57 +0000 (13:55 -0300)
src/lib/server/module.c

index 203ce0101edde542e3f698adbaaf5a2850f6c896..1282ce319d4ee82fa536f914f42be9d13508dc5a 100644 (file)
@@ -970,8 +970,6 @@ module_instance_t *module_by_name_and_method(module_method_t *method, rlm_compon
                         */
                        if (strcmp(methods->name1, p) != 0) continue;
 
-                       if (methods->name1 != CF_IDENT_ANY) continue;
-
                found_name1:
                        /*
                         *      We've matched "*", or "name1" or