]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
allow &foo := {} to mean "delete leaf attributes"
authorAlan T. DeKok <aland@freeradius.org>
Tue, 10 Oct 2023 00:45:53 +0000 (20:45 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 10 Oct 2023 00:45:53 +0000 (20:45 -0400)
commit1c1f6723ac2255eb76e0b3a6a8a85c7da734c740
tree4c36113c96b1865188c43890948f4a6cb86945c8
parent1a7672d64228c8f002d029d49c34e22f1c200f61
allow &foo := {} to mean "delete leaf attributes"

because if the RHS is a dynamic expansion which returns no values,
that's what it means there
src/lib/unlang/compile.c
src/lib/unlang/edit.c
src/tests/keywords/edit-leaf-delete [new file with mode: 0644]
src/tests/keywords/edit-leaf-error [new file with mode: 0644]