summaryrefslogtreecommitdiff
path: root/contrib/unbound/libunbound/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/libunbound/context.c')
-rw-r--r--contrib/unbound/libunbound/context.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/unbound/libunbound/context.c b/contrib/unbound/libunbound/context.c
index 6d62e32b50fd..713259c718ce 100644
--- a/contrib/unbound/libunbound/context.c
+++ b/contrib/unbound/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);