]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
use correct variable in loop
authorAlan T. DeKok <aland@freeradius.org>
Mon, 11 Nov 2019 17:04:57 +0000 (12:04 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 Nov 2019 17:04:57 +0000 (12:04 -0500)
src/modules/rlm_eap/rlm_eap.c

index 1753b8362dd8e52d93d8078c6e7cdcd49996d4c8..74b2cfec8c938f5f9b772dad9014d4ef0a85329c 100644 (file)
@@ -1025,7 +1025,7 @@ static int mod_bootstrap(void *instance, CONF_SECTION *cs)
                /*
                 *      Add the methods the submodule provides
                 */
-               for (j = 0; i < MAX_PROVIDED_METHODS; j++) {
+               for (j = 0; j < MAX_PROVIDED_METHODS; j++) {
                        if (!submodule->provides[j]) break;
 
                        method = submodule->provides[j];