]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
typo
authorAlan T. DeKok <aland@freeradius.org>
Wed, 28 Aug 2024 16:15:44 +0000 (12:15 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 28 Aug 2024 16:16:01 +0000 (12:16 -0400)
src/lib/server/cf_file.c

index b0462cf1c4ffe356a62f64e8da522ed9168db01d..0f99fa92ea3d0d89e773687367faa04a483a3375 100644 (file)
@@ -2369,7 +2369,7 @@ alloc_section:
                        if (strcmp(css->name1, "server") == 0) css->unlang = CF_UNLANG_SERVER;
                        if (strcmp(css->name1, "policy") == 0) css->unlang = CF_UNLANG_POLICY;
                        if (strcmp(css->name1, "modules") == 0) css->unlang = CF_UNLANG_MODULES;
-                       if (strcmp(css->name1, "template") == 0) css->unlang = CF_UNLANG_CAN_HAVE_UPDATE;
+                       if (strcmp(css->name1, "templates") == 0) css->unlang = CF_UNLANG_CAN_HAVE_UPDATE;
 
                } else if ((cf_item_to_section(parent->item.parent)->unlang == CF_UNLANG_MODULES) &&
                           (strcmp(css->name1, "update") == 0)) {