]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
set tag for :V properly.
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Feb 2025 19:31:17 +0000 (14:31 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 Feb 2025 19:31:17 +0000 (14:31 -0500)
commit2c6c3e87c7b5a79784fff2a88a4a0af3ac8527fa
treebe3d08220903b002f45cc04526dea2dd0403ad2f
parent748aff36fd6c51f14c317dd207b435e5894aa5e8
set tag for :V properly.

Hoist setting of new->tag to before we call fr_pair_value_from_str()

when converting LITERAL to DATA in modcall_fixup_update(), check
for TAG_VALUE, and then parse the tag from the value.  Once that's
done, parse the value with from the remaining part of the string.

Add tests
src/main/map.c
src/main/modcall.c
src/tests/keywords/tag [new file with mode: 0644]
src/tests/keywords/tag.attrs [new file with mode: 0644]