From: Alan T. DeKok Date: Tue, 1 Mar 2016 15:03:24 +0000 (-0500) Subject: Don't create response if it's do_not_respond. X-Git-Tag: release_3_0_12~206 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b4b95f8cc0a1e05959b4cd5571bfa3b98ecfedd7;p=thirdparty%2Ffreeradius-server.git Don't create response if it's do_not_respond. As a bug fix to commit 7ef12be8 --- diff --git a/src/main/process.c b/src/main/process.c index cbbfafa8ef3..1794610e3df 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -2419,7 +2419,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply) } else { vp = fr_pair_find_by_num(request->config, PW_RESPONSE_PACKET_TYPE, 0, TAG_ANY); - if (vp) { + if (vp && (vp->vp_integer != 256)) { request->proxy_reply = rad_alloc_reply(request, request->proxy); request->proxy_reply->code = vp->vp_integer; fr_pair_delete_by_num(&request->config, PW_RESPONSE_PACKET_TYPE, 0, TAG_ANY);