From: Nick Porter Date: Mon, 25 Jan 2021 11:30:10 +0000 (+0000) Subject: Set correct function type for eval function in protocol test points. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0b85a17cf0d6fe01ab66c3f6b3f70685ddcbfc2c;p=thirdparty%2Ffreeradius-server.git Set correct function type for eval function in protocol test points. --- diff --git a/src/lib/io/test_point.h b/src/lib/io/test_point.h index 087d8bc2d8..169e9b3bc3 100644 --- a/src/lib/io/test_point.h +++ b/src/lib/io/test_point.h @@ -73,7 +73,7 @@ typedef struct { typedef struct { fr_test_point_ctx_alloc_t test_ctx; //!< Allocate a test ctx for the encoder. fr_tp_proto_encode_t func; //!< Encoder for proto layer. - fr_cursor_eval_t eval; //!< Evaluation function to filter + fr_dcursor_eval_t eval; //!< Evaluation function to filter ///< attributes to encode. } fr_test_point_proto_encode_t; @@ -93,6 +93,6 @@ typedef struct { fr_pair_encode_t func; //!< Encoder for pairs. fr_dcursor_iter_t next_encodable; //!< Iterator to use to select attributes ///< to encode. - fr_cursor_eval_t eval; //!< Evaluation function to filter + fr_dcursor_eval_t eval; //!< Evaluation function to filter ///< attributes to encode. } fr_test_point_pair_encode_t;