]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Ident2, needs to be wildcard
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 18 Feb 2024 19:51:37 +0000 (13:51 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Sun, 18 Feb 2024 19:51:37 +0000 (13:51 -0600)
src/listen/dns/proto_dns.c
src/listen/dns/proto_dns_udp.c

index 748e716a9913829d0227b52b136e9077d32a1dc7..4a289709bfbba56995b4661c17e9252f105eec12 100644 (file)
@@ -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);
index 94a1feb533f100a08d65828c3a2fbe157ce1d4a2..5e9241ac2c9e9fc075527eb58c8416d27e46acd8 100644 (file)
@@ -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);
 
        /*