variables with 2.0.0-beta
Alan DeKok
aland at deployingradius.com
Tue Jan 8 17:43:18 CET 2008
Duane Cox wrote:
> Hello
>
> Will this still expand with 2.0.0-beta ?
>
> %{config:client[%{Packet-Src-IP-Address}].shortname}
I've just committed a fix that will expand the contents of
%{config:...}. So if you still have an old-style client definition, it
should now work.
> I'm using 2.0.0-pre2 and it's working, but I am seeing some warnings with
> 2.0.0-beta about not being able to expand/find it.
In 2.0.0-beta, you can do:
%{client:shortname}, which means "the client that this request came
from". It's much simpler than the above method.
Alan DeKok.
More information about the Freeradius-Users
mailing list