From: Arran Cudbard-Bell Date: Thu, 4 Nov 2021 03:30:00 +0000 (-0400) Subject: Helps to init the lists X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd794febba58795d45e67d8e238e63504b47f884;p=thirdparty%2Ffreeradius-server.git Helps to init the lists --- diff --git a/src/process/dhcpv6/base.c b/src/process/dhcpv6/base.c index 07685dbdc6e..e512abc2f96 100644 --- a/src/process/dhcpv6/base.c +++ b/src/process/dhcpv6/base.c @@ -225,6 +225,9 @@ process_dhcpv6_client_fields_t *dhcpv6_client_fields_store(request_t *request, b MEM(rctx = talloc_zero(unlang_interpret_frame_talloc_ctx(request), process_dhcpv6_client_fields_t)); rctx->transaction_id = fr_pair_copy(rctx, transaction_id); + fr_pair_list_init(&rctx->client_id); + fr_pair_list_init(&rctx->server_id); + /* * These should just become straight copies * when the structure pairs are nested.