From: Nick Porter Date: Wed, 6 Jan 2021 18:03:48 +0000 (+0000) Subject: s/fr_cursor/fr_dcursor/ in proto_tacacs/proto/tacacs_auth.c X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=696dd8666b12759c533fcbc1ce1fcb2969aec5b4;p=thirdparty%2Ffreeradius-server.git s/fr_cursor/fr_dcursor/ in proto_tacacs/proto/tacacs_auth.c --- diff --git a/src/modules/proto_tacacs/proto_tacacs_auth.c b/src/modules/proto_tacacs/proto_tacacs_auth.c index e472d3fe01d..2e70f113848 100644 --- a/src/modules/proto_tacacs/proto_tacacs_auth.c +++ b/src/modules/proto_tacacs/proto_tacacs_auth.c @@ -152,7 +152,7 @@ static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mc rlm_rcode_t rcode; CONF_SECTION *unlang; fr_dict_enum_t const *dv = NULL; - fr_cursor_t cursor; + fr_dcursor_t cursor; fr_tacacs_auth_request_ctx_t const *auth_ctx; fr_tacacs_packet_hdr_t const *pkt = (fr_tacacs_packet_hdr_t const *) request->packet->data; @@ -244,9 +244,9 @@ static unlang_action_t mod_process(rlm_rcode_t *p_result, module_ctx_t const *mc * Find Authentication-Type, and complain if they have too many. */ auth_type = NULL; - for (vp = fr_cursor_iter_by_da_init(&cursor, &request->control_pairs, attr_auth_type); + for (vp = fr_dcursor_iter_by_da_init(&cursor, &request->control_pairs, attr_auth_type); vp; - vp = fr_cursor_next(&cursor)) { + vp = fr_dcursor_next(&cursor)) { if (!auth_type) { auth_type = vp; continue;