From: Nick Porter Date: Wed, 6 Jan 2021 15:27:10 +0000 (+0000) Subject: s/fr_cursor/fr_dcursor/ in proto_dhcpv6/proto_dhcpv6.c X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3beccc802ff68994916f19c81c0a014274658ae8;p=thirdparty%2Ffreeradius-server.git s/fr_cursor/fr_dcursor/ in proto_dhcpv6/proto_dhcpv6.c --- diff --git a/src/modules/proto_dhcpv6/proto_dhcpv6.c b/src/modules/proto_dhcpv6/proto_dhcpv6.c index 3f42bffc688..802d6a41cc5 100644 --- a/src/modules/proto_dhcpv6/proto_dhcpv6.c +++ b/src/modules/proto_dhcpv6/proto_dhcpv6.c @@ -187,7 +187,7 @@ static int mod_decode(void const *instance, request_t *request, uint8_t *const d fr_io_address_t const *address = track->address; RADCLIENT const *client; fr_radius_packet_t *packet = request->packet; - fr_cursor_t cursor; + fr_dcursor_t cursor; /* * Set the request dictionary so that we can do @@ -215,7 +215,7 @@ static int mod_decode(void const *instance, request_t *request, uint8_t *const d * That MUST be set and checked in the underlying * transport, via a call to fr_dhcpv6_ok(). */ - fr_cursor_init(&cursor, &request->request_pairs); + fr_dcursor_init(&cursor, &request->request_pairs); if (fr_dhcpv6_decode(request->request_ctx, packet->data, packet->data_len, &cursor) < 0) { RPEDEBUG("Failed decoding packet"); return -1;