From: Terry Burton Date: Fri, 19 Mar 2021 23:30:37 +0000 (+0000) Subject: Missing subsection search entry for "refresh" cache method (#4009) X-Git-Tag: release_3_0_22~152 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55da90bb142256118b3816beca00983e09e7a3ac;p=thirdparty%2Ffreeradius-server.git Missing subsection search entry for "refresh" cache method (#4009) --- diff --git a/src/main/modules.c b/src/main/modules.c index 87ea0eab1a..6c2d2a7843 100644 --- a/src/main/modules.c +++ b/src/main/modules.c @@ -1404,6 +1404,14 @@ static int load_byserver(CONF_SECTION *cs) MOD_POST_AUTH)) { goto error; /* FIXME: memleak? */ } + + subcs = cf_section_sub_find_name2(cs, "cache", "refresh"); + if (subcs && !load_subcomponent_section(subcs, + components, + da, + MOD_POST_AUTH)) { + goto error; /* FIXME: memleak? */ + } #endif #ifdef WITH_DHCP