]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
go to next here, too
authorAlan T. DeKok <aland@freeradius.org>
Thu, 8 Apr 2021 20:17:30 +0000 (16:17 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 12 Apr 2021 21:20:39 +0000 (17:20 -0400)
src/protocols/radius/encode.c

index 2cfa6f4f252a91c60a8d53379391d3650b450fc9..7016366a6eaa67d617ea6b3e7e8a7484a9031ec1 100644 (file)
@@ -1320,7 +1320,7 @@ static ssize_t encode_vsa_hdr(fr_dbuff_t *dbuff,
        /*
         *      Fix up the da stack, and return the data we've encoded.
         */
-       vp = fr_dcursor_current(cursor);
+       vp = fr_dcursor_next(cursor);
        fr_proto_da_stack_build(da_stack, vp ? vp->da : NULL);
 
        FR_PROTO_HEX_DUMP(fr_dbuff_start(&work_dbuff), 6, "header vsa");