dhcpv4: delay forced renew transaction start
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 21 Jun 2018 08:25:53 +0000 (10:25 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Fri, 22 Jun 2018 13:10:38 +0000 (15:10 +0200)
commitbb8470f590b7b51de6f8acbaa63ad185c0388e84
tree61dada6109b87e52f13d2a5f782a3bcbd93c85f9
parent62a1b09c5fb018b8ee223e0ccea5a9e084918570
dhcpv4: delay forced renew transaction start

Delay the start of the forced renew transaction start with a random delay
between 500 and 1000 ms. This avoids sending DHCP forced renew messages
in case the DHCP client starts sending discover messages triggered by
link state flap.
Also it distributes sending of DHCP forced renew messages to different clients
over an interval instead of sending DHCP forced renew messages in a burst mode.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/dhcpv4.c