Corrected typo
authorAlan T. DeKok <aland@freeradius.org>
Mon, 11 May 2009 13:59:10 +0000 (15:59 +0200)
committerAlan T. DeKok <aland@freeradius.org>
Mon, 11 May 2009 13:59:10 +0000 (15:59 +0200)
Validate reply against packet, not against reply

src/main/event.c

index fdfa544..0e56775 100644 (file)
@@ -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;