From: Nick Porter Date: Mon, 21 Oct 2024 15:16:27 +0000 (+0100) Subject: Use mod_accounting in send Accounting-Response X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fcfa99fa386eacb409e6a6eb12b6e923fd81b2c5;p=thirdparty%2Ffreeradius-server.git Use mod_accounting in send Accounting-Response There's very little point in logging accouning responses in detail files, and the sample config calls "detail" in the send Accounting-Response section. --- diff --git a/src/modules/rlm_detail/rlm_detail.c b/src/modules/rlm_detail/rlm_detail.c index 8966e1588f5..2acf642fcd6 100644 --- a/src/modules/rlm_detail/rlm_detail.c +++ b/src/modules/rlm_detail/rlm_detail.c @@ -513,6 +513,7 @@ module_rlm_t rlm_detail = { .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", 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