the original request.
Changed related error message to be more descriptive.
/*
* If we haven't found the old request, complain.
*/
- radlog(L_PROXY, "Unrecognized proxy reply from server %s - ID %d",
+ radlog(L_PROXY, "No request found for proxy reply from server %s - ID %d",
client_name(request->packet->src_ipaddr),
request->packet->id);
request_free(&request);
int id;
for (id = 0; (id < 256) && (curreq == NULL); id++) {
- for (curreq = request_list[request->packet->id].first_request;
+ for (curreq = request_list[id].first_request;
curreq != NULL ;
curreq = curreq->next) {
if (curreq->req->proxy &&