Allow "group" in instantiate
authorAlan T. DeKok <aland@freeradius.org>
Mon, 24 Nov 2014 20:27:47 +0000 (15:27 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 24 Nov 2014 20:28:04 +0000 (15:28 -0500)
src/main/modules.c

index d04f4b2..8d10ced 100644 (file)
@@ -1815,7 +1815,8 @@ int modules_init(CONF_SECTION *config)
 
                                subcs = cf_itemtosection(ci);
                                name = cf_section_name1(subcs);
-                               if (!((strcmp(name, "redundant") == 0) ||
+                               if (!((strcmp(name, "group") == 0) ||
+                                     (strcmp(name, "redundant") == 0) ||
                                      (strcmp(name, "redundant-load-balance") == 0) ||
                                      strcmp(name, "load-balance") == 0)) {
                                        cf_log_err_cs(subcs, "Invalid subsection");