From: Arran Cudbard-Bell Date: Thu, 11 Nov 2021 22:13:44 +0000 (-0600) Subject: Unbound needs the inst name for xlats X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=df405b9cd743a7a068670c5907b281f56646285c;p=thirdparty%2Ffreeradius-server.git Unbound needs the inst name for xlats --- diff --git a/src/modules/rlm_unbound/rlm_unbound.c b/src/modules/rlm_unbound/rlm_unbound.c index 62c65aceb46..bc81125a7cf 100644 --- a/src/modules/rlm_unbound/rlm_unbound.c +++ b/src/modules/rlm_unbound/rlm_unbound.c @@ -493,6 +493,8 @@ static int mod_bootstrap(module_inst_ctx_t const *mctx) rlm_unbound_t *inst = talloc_get_type_abort(mctx->inst->data, rlm_unbound_t); xlat_t *xlat; + inst->name = mctx->inst->name; + if (inst->timeout > 10000) { cf_log_err(mctx->inst->conf, "timeout must be 0 to 10000"); return -1;