which lets the parser return uint8, and then we assign that
value to a uint32 attribute.
MEM(vp = fr_pair_afrom_da(current, current->parent->lhs.vp->da));
if (tmpl_is_data(current->lhs.vpt)) {
- if (fr_value_box_copy(vp, &vp->data, tmpl_value(current->lhs.vpt)) < 0) goto error;
+ if (fr_value_box_cast(vp, &vp->data, vp->da->type, vp->da, tmpl_value(current->lhs.vpt)) < 0) goto error;
} else {
fr_pair_t *ref;
#
# PRE: edit
#
-&request += {
- &Tmp-Integer-0 = 1
- &Tmp-Integer-0 = 3
- &Tmp-Integer-0 = 5
- &Tmp-Integer-0 = 7
- &Tmp-Integer-0 = 11
-}
+&request.Tmp-Integer-0 := { 1, 3, 5, 7, 11 }
&Tmp-Integer-1 := 0