]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Keep track of "last in list" properly.
authorAlan T. DeKok <aland@freeradius.org>
Mon, 8 Nov 2010 11:43:04 +0000 (12:43 +0100)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 8 Nov 2010 11:43:04 +0000 (12:43 +0100)
Patch from James Ballantine.

Every other instance of "continue" in this function sets "tailfrom".
This one should, too.

src/main/valuepair.c

index 58a9cdab1047373d836411d2a6aff207cb86ba47..f8feb4008bea8f8c0f0f1273109f2465953b83df 100644 (file)
@@ -572,6 +572,7 @@ void pairxlatmove(REQUEST *req, VALUE_PAIR **to, VALUE_PAIR **from)
                 *      Don't move 'fallthrough' over.
                 */
                if (i->attribute == PW_FALL_THROUGH) {
+                       tailfrom = i;
                        continue;
                }