From: Alan T. DeKok Date: Thu, 8 Apr 2021 20:17:30 +0000 (-0400) Subject: go to next here, too X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7edb642ff586f943b7d2c0cfbd307eece6e05e2e;p=thirdparty%2Ffreeradius-server.git go to next here, too --- diff --git a/src/protocols/radius/encode.c b/src/protocols/radius/encode.c index 1998c9ee11..da19f65235 100644 --- a/src/protocols/radius/encode.c +++ b/src/protocols/radius/encode.c @@ -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");