How to find out from which section a module was called

Alan DeKok aland at
Thu Apr 9 15:35:26 CEST 2009

Stephan Jaeger wrote:
> is it possible to get the information from which section a module was
> called? Maybe from the request struct?

  request->component contains the name of the section.

> Following the example configuration logs the same string for
> access-request and access-accept/reject (the access-request one) because
> the packet type from the request is access-request in both request and
> reply. So i guess if not i have to configure different rlm_linelog
> instances to handle requests and replies.

  Pretty much, yes.

  Alan DeKok.

More information about the Freeradius-Devel mailing list