]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
it's compile_subrequest(), not compile_create()
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Sep 2017 15:55:07 +0000 (11:55 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Sep 2017 23:30:31 +0000 (19:30 -0400)
src/main/unlang_compile.c

index 29db9f5398218f0e3e6874de04aaa22b47b940ce..b4d7730825a6fb2a612436d12ee6841cf575eb5b 100644 (file)
@@ -2517,8 +2517,8 @@ static unlang_t *compile_parallel(unlang_t *parent, unlang_compile_t *unlang_ctx
 }
 
 
-static unlang_t *compile_create(unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs,
-                               unlang_group_type_t group_type, unlang_group_type_t parentgroup_type, unlang_type_t mod_type)
+static unlang_t *compile_subrequest(unlang_t *parent, unlang_compile_t *unlang_ctx, CONF_SECTION *cs,
+                                   unlang_group_type_t group_type, unlang_group_type_t parentgroup_type, unlang_type_t mod_type)
 {
        char const *name2;
        unlang_t *c;
@@ -2717,7 +2717,7 @@ static modcall_compile_t compile_table[] = {
        { "map",                compile_map, UNLANG_GROUP_TYPE_SIMPLE, UNLANG_TYPE_MAP, REQUIRE_CHILDREN },
        { "switch",             compile_switch, UNLANG_GROUP_TYPE_SIMPLE, UNLANG_TYPE_SWITCH, REQUIRE_CHILDREN },
        { "parallel",           compile_parallel, UNLANG_GROUP_TYPE_SIMPLE, UNLANG_TYPE_PARALLEL, REQUIRE_CHILDREN },
-       { "subrequest",         compile_create, UNLANG_GROUP_TYPE_SIMPLE, UNLANG_TYPE_SUBREQUEST, REQUIRE_CHILDREN },
+       { "subrequest",         compile_subrequest, UNLANG_GROUP_TYPE_SIMPLE, UNLANG_TYPE_SUBREQUEST, REQUIRE_CHILDREN },
 
        { NULL, NULL, 0, UNLANG_TYPE_NULL }
 };