]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Fix tags in map_exec_to_vp too Addresses #1191
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sat, 15 Aug 2015 22:59:04 +0000 (18:59 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Aug 2015 04:17:30 +0000 (00:17 -0400)
src/main/map.c

index fed2a4a7768287c46c981eb19dfe9cbff96d99e3..25fe83ae9f496f326cfe06bec66c4b91b78b9a2a 100644 (file)
@@ -700,6 +700,7 @@ static int map_exec_to_vp(TALLOC_CTX *ctx, VALUE_PAIR **out, REQUEST *request, v
                vp = fr_pair_afrom_da(ctx, map->lhs->tmpl_da);
                if (!vp) return -1;
                vp->op = map->op;
+               vp->tag = map->lhs->tmpl_tag
                if (fr_pair_value_from_str(vp, answer, -1) < 0) {
                        fr_pair_list_free(&vp);
                        return -2;