[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeradius-devel
Subject:    Re: How to find out from which section a module was called
From:       Alan DeKok <aland () deployingradius ! com>
Date:       2009-04-09 13:35:26
Message-ID: 49DDF99E.7030500 () deployingradius ! com
[Download RAW message or body]

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.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/devel.html
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic