Add forgotten line. Closes #585
authorAlan T. DeKok <aland@freeradius.org>
Sun, 31 Aug 2008 16:01:40 +0000 (18:01 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 31 Aug 2008 16:01:40 +0000 (18:01 +0200)
src/main/modcall.c

index 6be5652..b3fafe3 100644 (file)
@@ -1707,6 +1707,8 @@ static modcallable *do_compile_modsingle(modcallable *parent,
                 */
                subcs = NULL;
                cs = cf_section_find("instantiate");
+               if (cs) subcs = cf_section_sub_find_name2(cs, NULL,
+                                                         modrefname);
                if (!subcs) {
                        cs = cf_section_find("policy");
                        if (cs) subcs = cf_section_sub_find_name2(cs, NULL,