]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set duplicate timestamp
authorAlan T. DeKok <aland@freeradius.org>
Wed, 31 Jan 2018 19:50:51 +0000 (14:50 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Wed, 31 Jan 2018 19:50:51 +0000 (14:50 -0500)
src/modules/proto_radius/proto_radius_udp.c

index 1093d013c5c0c96cf9eb35dad46db419bca8bee3..fb1d70591366d4cc6cafb408323d30d4538720b7 100644 (file)
@@ -1077,11 +1077,11 @@ have_client:
 
                /*
                 *      Otherwise it's a duplicate packet.  Send the
-                *      whole thing over to the network stack, noting
-                *      that the tracking code ensures we get
-                *      "recv_time" from the ORIGINAL packet, and not
-                *      from now.
+                *      whole thing over to the network stack, while
+                *      updating the "packet recv time" to be when the
+                *      original packet was received.
                 */
+               packet_time = track->timestamp;
                break;
 
        /*