dhcpv6-ia: add some noise to the T1 and T2 periods
authorKevin Darbyshire-Bryant <[email protected]>
Sun, 5 Nov 2023 15:43:27 +0000 (15:43 +0000)
committerKevin Darbyshire-Bryant <[email protected]>
Fri, 5 Dec 2025 20:45:19 +0000 (20:45 +0000)
commit81ea5bfef775b8e2d4aae9826e84a040288864df
treee067c147741a5d02c847d8afb0645b82642bc187
parent79252ed0c0c26659a95729da0f2accaa0ddb458d
dhcpv6-ia: add some noise to the T1 and T2 periods

Without this, all the clients get the same timeouts and try to renew
addresses at the same time.  Reduce the T1 & T2 by a pseudo random 0 to
127 seconds, thus the renew attempts are likely to be spread out a bit
in time.

Signed-off-by: Kevin Darbyshire-Bryant <[email protected]>
src/dhcpv6-ia.c