]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Align upper bound of max_pps with upper bound of start_pps
authorNick Porter <nick@portercomputing.co.uk>
Wed, 1 Oct 2025 12:43:17 +0000 (13:43 +0100)
committerNick Porter <nick@portercomputing.co.uk>
Wed, 1 Oct 2025 12:43:17 +0000 (13:43 +0100)
src/listen/load/proto_load_step.c

index 2b8c436ef7a65c480c2af8f32722b4e62dddfb60..1bd4b368dae0ef38582661641ae150ecae1ddc96 100644 (file)
@@ -389,7 +389,7 @@ static int mod_instantiate(module_inst_ctx_t const *mctx)
        FR_INTEGER_BOUND_CHECK("step", inst->load.step, <, 100000);
 
        if (inst->load.max_pps > 0) FR_INTEGER_BOUND_CHECK("max_pps", inst->load.max_pps, >, inst->load.start_pps);
-       FR_INTEGER_BOUND_CHECK("max_pps", inst->load.max_pps, <, 100000);
+       FR_INTEGER_BOUND_CHECK("max_pps", inst->load.max_pps, <, 400000);
 
        FR_TIME_DELTA_BOUND_CHECK("duration", inst->load.duration, >=, fr_time_delta_from_sec(1));
        FR_TIME_DELTA_BOUND_CHECK("duration", inst->load.duration, <, fr_time_delta_from_sec(10000));