summaryrefslogtreecommitdiff
path: root/libunbound/context.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-05-21 05:01:52 +0000
committerCy Schubert <cy@FreeBSD.org>2020-05-21 05:01:52 +0000
commit6a53c00e64c4cf911eb00846733d9e6a47b2e7f4 (patch)
tree60a7720d2d4edfe62b094e2665743e8879ebb911 /libunbound/context.c
parente2fe726866d062155f6b1aae749375475ef19191 (diff)
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)) {