start from 0 for failover
authorAlan T. DeKok <aland@freeradius.org>
Tue, 24 Mar 2015 22:12:14 +0000 (17:12 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 24 Mar 2015 22:12:14 +0000 (17:12 -0500)
src/main/modcall.c

index d9cebe9..32d3471 100644 (file)
@@ -723,7 +723,7 @@ redo:
                         *      section.  If we get FAIL, then
                         *      continue.  Otherwise, stop.
                         */
-                       for (i = 1; i < count; i++) {
+                       for (i = 0; i < count; i++) {
                                modcall_child(request, component,
                                              depth + 1, entry, found,
                                              &result);