Keep track of "last in list" properly.
[freeradius.git] / src / main / valuepair.c
index 50f4cb6..96d76c3 100644 (file)
@@ -573,6 +573,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;
                }