]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
handle ATTRIBUTE flag better.
authorAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jan 2025 01:56:25 +0000 (20:56 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 21 Jan 2025 02:19:33 +0000 (21:19 -0500)
commitfc1465c31e5fc794e864682b4156689c555e92d4
tree6641672726306db650a8f02106f26d62da607195
parent0a9a151f249b408010248b727092eb62f7d83d08
handle ATTRIBUTE flag better.

If the flag is set, then the data _must_ be parsed as an attribute.

In which case we just call the tmpl_afrom_attr_str() function,
instead of calling the generic tmpl_afrom_substr() function.
and then complaining if the parsed tmpl wasn't an attribute.
src/lib/unlang/call_env.c
src/lib/unlang/call_env.h