From: Alan T. DeKok Date: Mon, 11 May 2009 13:59:10 +0000 (+0200) Subject: Corrected typo X-Git-Tag: release_2_1_7~158 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=adf4a771c8483ced5e03bbc8f71cd9cafd803403;p=thirdparty%2Ffreeradius-server.git Corrected typo Validate reply against packet, not against reply --- diff --git a/src/main/event.c b/src/main/event.c index fdfa5447b56..0e567752646 100644 --- a/src/main/event.c +++ b/src/main/event.c @@ -2955,7 +2955,7 @@ REQUEST *received_proxy_response(RADIUS_PACKET *packet) * helps minimize the DoS effect of people attacking us * with spoofed packets. */ - if (rad_verify(request->proxy_reply, packet, + if (rad_verify(request->proxy, packet, request->home_server->secret) != 0) { DEBUG("Ignoring spoofed proxy reply. Signature is invalid"); return;