From: Nick Porter Date: Thu, 2 Feb 2023 20:50:25 +0000 (+0000) Subject: Pass a ctx to cache_verify X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fb0d02c946935f600ba6c504d2ec317983edc980;p=thirdparty%2Ffreeradius-server.git Pass a ctx to cache_verify Ensures that unlang_fixup_update() does not replace NUM_UNSPEC with NUM_ALL --- diff --git a/src/modules/rlm_cache/rlm_cache.c b/src/modules/rlm_cache/rlm_cache.c index 2a7e020a216..74907a79825 100644 --- a/src/modules/rlm_cache/rlm_cache.c +++ b/src/modules/rlm_cache/rlm_cache.c @@ -1018,7 +1018,7 @@ static int mod_instantiate(module_inst_ctx_t const *mctx) map_list_init(&inst->maps); if (map_afrom_cs(inst, &inst->maps, update, - &parse_rules, &parse_rules, cache_verify, NULL, MAX_ATTRMAP) < 0) { + &parse_rules, &parse_rules, cache_verify, inst, MAX_ATTRMAP) < 0) { return -1; } }