From: Alan T. DeKok Date: Tue, 5 Jan 2016 18:39:15 +0000 (-0500) Subject: alloc reply, not request packet. X-Git-Tag: release_3_0_11~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0f683ec28dd8b6648b10d48caabe7036286193c9;p=thirdparty%2Ffreeradius-server.git alloc reply, not request packet. This initializes all of the necessary fields --- diff --git a/src/main/process.c b/src/main/process.c index 736a00db185..ff466051779 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -1798,7 +1798,7 @@ static REQUEST *request_setup(TALLOC_CTX *ctx, rad_listen_t *listener, RADIUS_PA ERROR("No memory"); return NULL; } - request->reply = rad_alloc(request, false); + request->reply = rad_alloc_reply(request, packet); if (!request->reply) { ERROR("No memory"); talloc_free(request);