summaryrefslogtreecommitdiff
path: root/libunbound/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'libunbound/context.c')
-rw-r--r--libunbound/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libunbound/context.c b/libunbound/context.c
index b8fe87d2e580d..6d62e32b50fdd 100644
--- a/libunbound/context.c
+++ b/libunbound/context.c
@@ -55,6 +55,7 @@
int
context_finalize(struct ub_ctx* ctx)
{
+ int is_rpz = 0;
struct config_file* cfg = ctx->env->cfg;
verbosity = cfg->verbosity;
if(ctx_logfile_overridden && !ctx->logfile_override) {
@@ -76,7 +77,7 @@ context_finalize(struct ub_ctx* ctx)
return UB_NOMEM;
if(!local_zones_apply_cfg(ctx->local_zones, cfg))
return UB_INITFAIL;
- if(!auth_zones_apply_cfg(ctx->env->auth_zones, cfg, 1))
+ if(!auth_zones_apply_cfg(ctx->env->auth_zones, cfg, 1, &is_rpz))
return UB_INITFAIL;
if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size,
cfg->msg_cache_slabs)) {