Skip to content

Commit

Permalink
Use mod_accounting in send Accounting-Response
Browse files Browse the repository at this point in the history
There's very little point in logging accouning responses in detail
files, and the sample config calls "detail" in the send
Accounting-Response section.
  • Loading branch information
ndptech committed Oct 21, 2024
1 parent 82e5bb9 commit fcfa99f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/modules/rlm_detail/rlm_detail.c
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fcfa99f

Please sign in to comment.