]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
add "has_pure_children" flag
authorAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jan 2022 14:05:29 +0000 (09:05 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 25 Jan 2022 14:06:37 +0000 (09:06 -0500)
commitee084df4b65f45354c9146f085ea54e92eff6ac4
tree132b926640da3bf46dec1f71e6da31cbac1fdd23
parentc4157dfa871a5ac558e14f9d5e541985d12361f9
add "has_pure_children" flag

so that when we're purifying functions, if the current node is not
pure, AND the node has no pure children, then we can short-circuit
the walk, and ignore this node.
src/lib/unlang/xlat.h
src/lib/unlang/xlat_priv.h