]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Put the proxy reply in the right list...
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Jun 2024 20:11:52 +0000 (14:11 -0600)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Wed, 19 Jun 2024 20:12:25 +0000 (14:12 -0600)
src/modules/rlm_radius/rlm_radius_udp.c

index 408fed799048619ed8231c08f411ac9b69d7c8ed..4a625ca4af2b6855b4c83f2c671e3af4ed4ad83c 100644 (file)
@@ -1164,7 +1164,7 @@ static decode_fail_t decode(TALLOC_CTX *ctx, fr_pair_list_t *reply, uint8_t *res
         *      !client->active means a fake packet defining a dynamic client - so there will
         *      be no secret defined yet - so can't verify.
         */
-       if (fr_radius_decode(request->request_ctx, &request->request_pairs,
+       if (fr_radius_decode(request->request_ctx, reply,
                             data, data_len, &decode_ctx) < 0) {
                talloc_free(decode_ctx.tmp_ctx);
                RPEDEBUG("Failed reading packet");