]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Helps to init the lists
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Nov 2021 03:30:00 +0000 (23:30 -0400)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 4 Nov 2021 03:30:00 +0000 (23:30 -0400)
src/process/dhcpv6/base.c

index 07685dbdc6e3213ab999baf74576bc8e7d5e2e03..e512abc2f96ed2e65c90116adae51ffc44dcec16 100644 (file)
@@ -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.