]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Use new function
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Apr 2021 16:54:36 +0000 (11:54 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 29 Apr 2021 16:54:36 +0000 (11:54 -0500)
src/lib/server/tmpl_eval.c

index 36642b6172ecefa8dc3d858a532b868000bea384..337550e0051331fa174128803187b09b40fd6a8a 100644 (file)
@@ -1481,7 +1481,7 @@ int tmpl_find_or_add_vp(fr_pair_t **out, request_t *request, tmpl_t const *vpt)
 
                MEM(vp = fr_pair_afrom_da(ctx, tmpl_da(vpt)));
 
-               fr_pair_add(head, vp);
+               fr_pair_append(head, vp);
 
                *out = vp;
        }