if (!map->lhs) goto oom;
tmpl_attr_set_leaf_da(map->lhs, vp->da);
- tmpl_attr_set_leaf_num(map->lhs, NUM_UNSPEC);
tmpl_attr_set_request_ref(map->lhs, rules->attr.request_def);
tmpl_attr_set_list(map->lhs, rules->attr.list_def);
ref->type = TMPL_ATTR_TYPE_NORMAL;
ref->da = da;
}
+
/*
* FIXME - Should be calculated from existing ar
*/
ref->ar_parent = fr_dict_root(fr_dict_by_da(da)); /* Parent is the root of the dictionary */
+ ref->ar_filter_type = TMPL_ATTR_FILTER_TYPE_NONE;
+ ref->ar_num = NUM_UNSPEC;
TMPL_ATTR_VERIFY(vpt);