]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
skip precompile blocks
authorAlan T. DeKok <aland@freeradius.org>
Wed, 18 May 2016 21:11:15 +0000 (17:11 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 18 May 2016 21:24:36 +0000 (17:24 -0400)
src/main/modcall.c

index 0cc9b4e884eed206fc4cfb5e52e7c8b4f1155627..b8c0c4e3d7c155bcf557331d125ad1dff567e843 100644 (file)
@@ -1768,6 +1768,11 @@ static modcallable *compile_children(modgroup *g, modcallable *parent, rlm_compo
                        modcallable *single;
                        CONF_SECTION *subcs = cf_item_to_section(ci);
 
+                       /*
+                        *      Skip precompiled blocks.
+                        */
+                       if (cf_data_find(subcs, "unlang")) continue;
+
                        /*
                         *      "actions" apply to the current group.
                         *      It's not a subgroup.