From: Arran Cudbard-Bell Date: Sat, 15 Aug 2015 22:59:04 +0000 (-0400) Subject: Fix tags in map_exec_to_vp too Addresses #1191 X-Git-Tag: release_3_0_10~232 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f950efc26d771375b3760889dc9e19cf6260e57;p=thirdparty%2Ffreeradius-server.git Fix tags in map_exec_to_vp too Addresses #1191 --- diff --git a/src/main/map.c b/src/main/map.c index fed2a4a7768..25fe83ae9f4 100644 --- a/src/main/map.c +++ b/src/main/map.c @@ -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;