xlat expansion of absent VPs
Alan DeKok
aland at deployingradius.com
Mon Jun 17 16:53:14 CEST 2013
Stelian Ionescu wrote:
> In processing a request that does not contain Called-Station-Id, I
> noticed that absent VPs now get expanded to an underscore instead of the
> usual empty string:
That's how it was in 2.x. Or at least how the code was *supposed* to
work.
The idea is that a place-holder is better than silently expanding to
an empty string. An empty string means that data which is supposed to
be 4 columns (for example) is now suddenly 3. That's bad.
If you want to force an empty string, use:
%{%{Attribute-Name}:-}
Which will do what you want.
Alan DeKok.
More information about the Freeradius-Devel
mailing list