How to find out from which section a module was called

Stephan Jaeger stephan.jaeger at ewetel.de
Thu Apr 9 15:31:25 CEST 2009


Hi,

is it possible to get the information from which section a module was 
called? Maybe from the request struct?
If have a problem with modules like rlm_linelog which have a common 
function for all sections.

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.

I also had that problem with a self made module so i had to make 
different module functions for every section.

-- 
i. A. Stephan Jäger
Abteilung Dienste

Telefon: (0441)8000-2873
Telefax: (0441)8000-2599
mailto:stephan.jaeger at ewetel.de
___________________________________
EWE TEL GmbH
Cloppenburger Straße 310
26133 Oldenburg
Handelsregister Amtsgericht Oldenburg HRB 3723
Vorsitzender des Aufsichtsrates: Heiko Harms
Geschäftsführung: Hans-Joachim Iken (Vorsitzender), Dr. Norbert Schulz,
Dirk Thole
Homepage: http://www.ewetel.de/






More information about the Freeradius-Devel mailing list