diff --git a/src/sink.c b/src/sink.c index 889f8c0be..594ddf465 100644 --- a/src/sink.c +++ b/src/sink.c @@ -565,7 +565,7 @@ static struct appctx *sink_forward_session_create(struct sink *sink, struct sink if (sft->srv->log_proto == SRV_LOG_PROTO_OCTET_COUNTING) applet = &sink_forward_oc_applet; - appctx = appctx_new_here(applet, NULL); + appctx = appctx_new_on(applet, NULL, statistical_prng_range(global.nbthread)); if (!appctx) goto out_close; appctx->svcctx = (void *)sft;