]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Section names are case sensitive
authorNick Porter <nick@portercomputing.co.uk>
Tue, 16 Dec 2025 13:56:55 +0000 (13:56 +0000)
committerNick Porter <nick@portercomputing.co.uk>
Tue, 16 Dec 2025 14:00:03 +0000 (14:00 +0000)
src/modules/rlm_detail/rlm_detail.c
src/modules/rlm_rest/rlm_rest.c
src/modules/rlm_test/rlm_test.c
src/modules/rlm_wimax/rlm_wimax.c

index 5b310404347e1e92258345529d2007e4e2de5f6d..d77f3f32fe699a80d0b3fe9041a64747b4148152 100644 (file)
@@ -502,8 +502,8 @@ module_rlm_t rlm_detail = {
        .method_group = {
                .bindings = (module_method_binding_t[]){
                        { .section = SECTION_NAME("accounting", CF_IDENT_ANY), .method = mod_accounting, .method_env = &method_env },
-                       { .section = SECTION_NAME("recv", "accounting-request"), .method = mod_accounting, .method_env = &method_env },
-                       { .section = SECTION_NAME("send", "accounting-response"), .method = mod_accounting, .method_env = &method_env },
+                       { .section = SECTION_NAME("recv", "Accounting-Request"), .method = mod_accounting, .method_env = &method_env },
+                       { .section = SECTION_NAME("send", "Accounting-Response"), .method = mod_accounting, .method_env = &method_env },
                        { .section = SECTION_NAME("recv", CF_IDENT_ANY), .method = mod_authorize, .method_env = &method_env },
                        { .section = SECTION_NAME("send", CF_IDENT_ANY), .method = mod_post_auth, .method_env = &method_env },
                        MODULE_BINDING_TERMINATOR
index b9624e9549a42214cca1db62135c4c1923bb40f9..c8ff2fa45ff5611ff427ea03c84c78989c4835d4 100644 (file)
@@ -1376,7 +1376,7 @@ module_rlm_t rlm_rest = {
        },
        .method_group = {
                .bindings = (module_method_binding_t[]){
-                       { .section = SECTION_NAME("recv", "accounting-request"), .method = mod_accounting, .method_env = &rest_method_env },
+                       { .section = SECTION_NAME("recv", "Accounting-Request"), .method = mod_accounting, .method_env = &rest_method_env },
                        { .section = SECTION_NAME("accounting", CF_IDENT_ANY), .method = mod_accounting, .method_env = &rest_method_env },
                        { .section = SECTION_NAME("authenticate", CF_IDENT_ANY), .method = mod_authenticate, .method_env = &rest_method_env },
                        { .section = SECTION_NAME("send", CF_IDENT_ANY), .method = mod_accounting, .method_env = &rest_method_env },
index 2ca186fae37b5789a073e76e220f8a91e5852047..41296f8cb22dfda3e900fac82dd6de2afdecc1d0 100644 (file)
@@ -550,8 +550,8 @@ module_rlm_t rlm_test = {
 
                        { .section = SECTION_NAME("name1_null", NULL),                  .method = mod_return },
 
-                       { .section = SECTION_NAME("recv", "access-challenge"),          .method = mod_return },
-                       { .section = SECTION_NAME("recv", "accounting-request"),        .method = mod_preacct },
+                       { .section = SECTION_NAME("recv", "Access-Challenge"),          .method = mod_return },
+                       { .section = SECTION_NAME("recv", "Accounting-Request"),        .method = mod_preacct },
                        { .section = SECTION_NAME("recv", CF_IDENT_ANY),                .method = mod_authorize },
 
                        { .section = SECTION_NAME("retry", NULL),                       .method = mod_retry },
index 3a849bb49e239d61d88d0197e34ebb5b2cf84356..63afee1670c3cc7a58323145b4b04b9201af5603 100644 (file)
@@ -462,7 +462,7 @@ module_rlm_t rlm_wimax = {
        },
        .method_group = {
                .bindings = (module_method_binding_t[]){
-                       { .section = SECTION_NAME("recv", "accounting-request"), .method = mod_preacct },
+                       { .section = SECTION_NAME("recv", "Accounting-Request"), .method = mod_preacct },
                        { .section = SECTION_NAME("recv", CF_IDENT_ANY), .method = mod_authorize },
                        { .section = SECTION_NAME("send", CF_IDENT_ANY), .method = mod_post_auth },
                        MODULE_BINDING_TERMINATOR