aboutsummaryrefslogtreecommitdiff
path: root/external/unbound/libunbound/context.c
diff options
context:
space:
mode:
Diffstat (limited to 'external/unbound/libunbound/context.c')
-rw-r--r--external/unbound/libunbound/context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/external/unbound/libunbound/context.c b/external/unbound/libunbound/context.c
index 4469b5bb4..e203111b7 100644
--- a/external/unbound/libunbound/context.c
+++ b/external/unbound/libunbound/context.c
@@ -62,6 +62,7 @@ context_finalize(struct ub_ctx* ctx)
config_apply(cfg);
if(!modstack_setup(&ctx->mods, cfg->module_conf, ctx->env))
return UB_INITFAIL;
+ log_edns_known_options(VERB_ALGO, ctx->env);
ctx->local_zones = local_zones_create();
if(!ctx->local_zones)
return UB_NOMEM;
@@ -126,7 +127,7 @@ find_id(struct ub_ctx* ctx, int* id)
struct ctx_query*
context_new(struct ub_ctx* ctx, const char* name, int rrtype, int rrclass,
- ub_callback_t cb, void* cbarg)
+ ub_callback_type cb, void* cbarg)
{
struct ctx_query* q = (struct ctx_query*)calloc(1, sizeof(*q));
if(!q) return NULL;