From: Arran Cudbard-Bell Date: Sun, 18 Feb 2024 19:51:37 +0000 (-0600) Subject: Ident2, needs to be wildcard X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=419ee8207463186b80f160bd597ac4ba359ce7b2;p=thirdparty%2Ffreeradius-server.git Ident2, needs to be wildcard --- diff --git a/src/listen/dns/proto_dns.c b/src/listen/dns/proto_dns.c index 748e716a991..4a289709bfb 100644 --- a/src/listen/dns/proto_dns.c +++ b/src/listen/dns/proto_dns.c @@ -386,7 +386,7 @@ static int mod_bootstrap(module_inst_ctx_t const *mctx) /* * Ensure that the server CONF_SECTION is always set. */ - inst->io.server_cs = cf_section_find_in_parent(mctx->inst->conf, "server", NULL); + inst->io.server_cs = cf_section_find_in_parent(mctx->inst->conf, "server", CF_IDENT_ANY); fr_assert(dict_dns != NULL); fr_assert(attr_packet_type != NULL); diff --git a/src/listen/dns/proto_dns_udp.c b/src/listen/dns/proto_dns_udp.c index 94a1feb533f..5e9241ac2c9 100644 --- a/src/listen/dns/proto_dns_udp.c +++ b/src/listen/dns/proto_dns_udp.c @@ -389,7 +389,7 @@ static int mod_bootstrap(module_inst_ctx_t const *mctx) } } - server_cs = cf_section_find_in_parent(inst->cs, "server", NULL); + server_cs = cf_section_find_in_parent(inst->cs, "server", CF_IDENT_ANY); fr_assert(server_cs != NULL); /*