]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Set correct function type for eval function in protocol test points.
authorNick Porter <nick@portercomputing.co.uk>
Mon, 25 Jan 2021 11:30:10 +0000 (11:30 +0000)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Mon, 25 Jan 2021 16:13:52 +0000 (16:13 +0000)
src/lib/io/test_point.h

index 087d8bc2d8ea24ee357357cf293a8f71728e53a3..169e9b3bc3f5e1ccd5a135e6754dd097e5f492f7 100644 (file)
@@ -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;