]> git.ipfire.org Git - thirdparty/haproxy.git/commit
MINOR: tools: add statistical_prng_range() to get a random number over a range
authorWilly Tarreau <w@1wt.eu>
Sat, 17 Apr 2021 13:49:34 +0000 (15:49 +0200)
committerWilly Tarreau <w@1wt.eu>
Mon, 19 Apr 2021 13:24:33 +0000 (15:24 +0200)
commit84ebfabf7f38f6da95c90f5740601afc67376913
tree740236fe59ad492ff77d338054a1fafd0589eec9
parent635cced32fe717f3fa271161a75510cd66865fae
MINOR: tools: add statistical_prng_range() to get a random number over a range

This is simply a multiply and shift from statistical_prng() but it's made
easily accessible.
include/haproxy/tools.h