Skip to content

Commit 0c5477d

Browse files
committed
set attribute prefix to AUTO
1 parent 1a0739d commit 0c5477d

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/modules/rlm_mruby/rlm_mruby.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -362,7 +362,8 @@ static void add_vp_tuple(TALLOC_CTX *ctx, request_t *request, fr_pair_list_t *vp
362362
&(tmpl_rules_t){
363363
.attr = {
364364
.dict_def = request->dict,
365-
.list_def = request_attr_reply
365+
.list_def = request_attr_reply,
366+
.prefix = TMPL_ATTR_REF_PREFIX_AUTO,
366367
}
367368
}) <= 0) {
368369
ERROR("Failed to find attribute %s", ckey);

src/modules/rlm_python/rlm_python.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,8 @@ static void mod_vptuple(TALLOC_CTX *ctx, module_ctx_t const *mctx, request_t *re
337337
&(tmpl_rules_t){
338338
.attr = {
339339
.dict_def = request->dict,
340-
.list_def = request_attr_reply
340+
.list_def = request_attr_reply,
341+
.prefix = TMPL_ATTR_REF_PREFIX_AUTO,
341342
}
342343
}) <= 0) {
343344
PERROR("%s - Failed to find attribute %s.%s", funcname, list_name, s1);

0 commit comments

Comments
 (0)