]> git.ipfire.org Git - thirdparty/freeradius-server.git/commit
correct list checks
authorAlan T. DeKok <aland@freeradius.org>
Fri, 8 Apr 2022 14:28:38 +0000 (10:28 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Fri, 8 Apr 2022 19:48:54 +0000 (15:48 -0400)
commitdef92fe57c35921529e9a91b72d5bd8f1d52ce5b
treec3f7e3d409b4f5b17f7cc458ed37d9e882f2042c
parentc557e944a565048cbd952dca2195e8ceb8badbeb
correct list checks

we're checking if the input VP is already in ANY list, and not
if it's in the TARGET list.

For insert after/before, we're checking if the "pos" item is
in the TARGET list, and the to_insert item is not in ANY list
src/lib/util/pair.c