From: Nick Porter Date: Tue, 16 Dec 2025 13:56:55 +0000 (+0000) Subject: Section names are case sensitive X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1ccccd335fde121817f99a8f03853b1b43d683d7;p=thirdparty%2Ffreeradius-server.git Section names are case sensitive --- diff --git a/src/modules/rlm_detail/rlm_detail.c b/src/modules/rlm_detail/rlm_detail.c index 5b310404347..d77f3f32fe6 100644 --- a/src/modules/rlm_detail/rlm_detail.c +++ b/src/modules/rlm_detail/rlm_detail.c @@ -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 diff --git a/src/modules/rlm_rest/rlm_rest.c b/src/modules/rlm_rest/rlm_rest.c index b9624e9549a..c8ff2fa45ff 100644 --- a/src/modules/rlm_rest/rlm_rest.c +++ b/src/modules/rlm_rest/rlm_rest.c @@ -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 }, diff --git a/src/modules/rlm_test/rlm_test.c b/src/modules/rlm_test/rlm_test.c index 2ca186fae37..41296f8cb22 100644 --- a/src/modules/rlm_test/rlm_test.c +++ b/src/modules/rlm_test/rlm_test.c @@ -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 }, diff --git a/src/modules/rlm_wimax/rlm_wimax.c b/src/modules/rlm_wimax/rlm_wimax.c index 3a849bb49e2..63afee1670c 100644 --- a/src/modules/rlm_wimax/rlm_wimax.c +++ b/src/modules/rlm_wimax/rlm_wimax.c @@ -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