summaryrefslogtreecommitdiff
path: root/libunbound/context.c
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
committerCy Schubert <cy@FreeBSD.org>2020-10-27 15:09:16 +0000
commit4cb89f2eee3bb358f0491932ab0498b5319f4229 (patch)
treefc2691469564e7d7e552247f2b2c6e04dd7efb8a /libunbound/context.c
parent7973006f41cdaf144441d1a39f9f075053435e2f (diff)
Diffstat (limited to 'libunbound/context.c')
-rw-r--r--libunbound/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libunbound/context.c b/libunbound/context.c
index 6d62e32b50fdd..713259c718ce0 100644
--- a/libunbound/context.c
+++ b/libunbound/context.c
@@ -50,6 +50,7 @@
#include "services/authzone.h"
#include "util/data/msgreply.h"
#include "util/storage/slabhash.h"
+#include "util/edns.h"
#include "sldns/sbuffer.h"
int
@@ -79,6 +80,8 @@ context_finalize(struct ub_ctx* ctx)
return UB_INITFAIL;
if(!auth_zones_apply_cfg(ctx->env->auth_zones, cfg, 1, &is_rpz))
return UB_INITFAIL;
+ if(!edns_tags_apply_cfg(ctx->env->edns_tags, cfg))
+ return UB_INITFAIL;
if(!slabhash_is_size(ctx->env->msg_cache, cfg->msg_cache_size,
cfg->msg_cache_slabs)) {
slabhash_delete(ctx->env->msg_cache);