]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
comments
authorAlan T. DeKok <aland@freeradius.org>
Tue, 27 Jun 2017 14:04:21 +0000 (10:04 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 27 Jun 2017 14:04:53 +0000 (10:04 -0400)
src/main/unlang_interpret.c

index 4d17a308486e2ba0c57629dea8073d1638291f97..2e0789b4d953eb10f6916de8b1d812db4085751d 100644 (file)
@@ -1503,10 +1503,13 @@ done_subsection:
        frame = &stack->frame[stack->depth];
 
        /*
-        *      Resume a "foreach" loop.
+        *      Resume a "foreach" loop, or a "load-balance" section.
         */
        if (frame->resume) goto resume_subsection;
 
+       /*
+        *      If we're done, merge the last result / priority in.
+        */
        if (frame->top_frame) {
                rad_assert(priority >= 0);