max <[EMAIL PROTECTED]> wrote:
> unfortunately it doesn't work. I obtain
> bar = "$modules.mod_foo.foo"
> and not
> bar = "hello world!"
> as I wish.

  See src/main/mainconfig.c, function xlat_config().  It parses that
configuration text for radius_xlat: %{config:section.subsection.item}

  Something similar needs to be done in src/main/conffile.c, function
cf_expand_variables().  It currently does a lookup on the name as-is,
and doesn't parse any "." in it.

  The second function has to be updated to work more like the first.

  Patches are welcome.

  Alan DeKok.


- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to