From eace5fc42e5c945e5683a148b866f97fa86bcf44 Mon Sep 17 00:00:00 2001 From: "Alan T. DeKok" Date: Wed, 19 Jan 2022 15:41:36 -0500 Subject: [PATCH] use the correct variable --- src/lib/server/map.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/server/map.c b/src/lib/server/map.c index 1f1a04c6c1..ad435f5f21 100644 --- a/src/lib/server/map.c +++ b/src/lib/server/map.c @@ -363,12 +363,13 @@ ssize_t map_afrom_substr(TALLOC_CTX *ctx, map_t **out, map_t **parent_p, fr_sbuf } else { memset(&our_lhs_attr_rules, 0, sizeof(our_lhs_attr_rules)); } + /* * Allow for ".foo" to refer to the current * parents list. Allow for "..foo" to refer to * the grandparent list. */ - if (lhs_rules->attr.prefix == TMPL_ATTR_REF_PREFIX_NO) { + if (our_lhs_attr_rules.prefix == TMPL_ATTR_REF_PREFIX_NO) { /* * One '.' means "the current parent". */ -- 2.47.2