custom variable in config files

Alan DeKok aland at ox.org
Thu Sep 15 18:18:08 CEST 2005


"Tariq Rashid" <tariq.rashid at uk.easynet.net> wrote:
> i'd like to do something like ...
> 
> 	realm abc.def {
> 	        type            = radius
> 	        authhost        = `%{config:network_address}`.126:1812

  The expansion of configuration-file variables is not the same as the
expansion of run-time variables.  See other examples in the
configuration.

  What *could* work is:

  authhost = ${network_address}.126:1812

  Alan DeKok.



More information about the Freeradius-Users mailing list