]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
update comment to refer to newer code
authorAlan T. DeKok <aland@freeradius.org>
Thu, 21 Dec 2023 14:37:58 +0000 (09:37 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 21 Dec 2023 15:59:27 +0000 (10:59 -0500)
src/lib/util/pair_legacy.c

index 73f83571196f457144fd413540660dcae724ed3a..6c1227beb5800d49413099c5a04ade12e3490b8a 100644 (file)
@@ -619,8 +619,8 @@ int fr_pair_list_afrom_file(TALLOC_CTX *ctx, fr_dict_t const *dict, fr_pair_list
 
 /** Move pairs from source list to destination list respecting operator
  *
- * @note This function does some additional magic that's probably not needed
- *      in most places. Consider using radius_pairmove in server code.
+ * @note This function does some additional magic that's probably not needed in most places. Consider using
+ *      radius_legacy_map_cmp() and radius_legacy_map_apply() instead.
  *
  * @note fr_pair_list_free should be called on the head of the source list to free
  *      unmoved attributes (if they're no longer needed).
@@ -628,8 +628,6 @@ int fr_pair_list_afrom_file(TALLOC_CTX *ctx, fr_dict_t const *dict, fr_pair_list
  * @param[in,out] to destination list.
  * @param[in,out] from source list.
  * @param[in] op operator for list move.
- *
- * @see radius_pairmove
  */
 void fr_pair_list_move_op(fr_pair_list_t *to, fr_pair_list_t *from, fr_token_t op)
 {