]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
make sure that each packet has it's own unique time
authorAlan T. DeKok <aland@freeradius.org>
Sat, 7 Dec 2019 20:14:16 +0000 (15:14 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Sun, 8 Dec 2019 21:36:35 +0000 (16:36 -0500)
src/lib/io/load.c

index 474efcc5a280ba5c43780c4d6b5f70636f249791..93b0d44470d0b8ad832ce11e9c659f370d597f9e 100644 (file)
@@ -108,7 +108,7 @@ static void fr_load_generator_send(fr_load_t *l, fr_time_t now, int count)
         *      it more likely that the next timer fires on time.
         */
        for (i = 0; i < count; i++) {
-               l->callback(now, l->uctx);
+               l->callback(now + i, l->uctx);
        }
 }