DHCPREQUEST not working with gettimeofday() after system time jumps
jpopelka at redhat.com
Mon Sep 15 10:17:17 UTC 2014
On 09/04/2014 08:32 AM, Bertram Stemer wrote:
> When using the isc-dhcp client we observed
> a problem when the system time performs a jump.
> The isc-dhcp client (4.2.3) uses the gettimeofday() function which,
> IMHO, shall not
> be used for timeout or interval calculation. You have to use a monotonic
> instead. A time jump can lead to the problem that the client does not
> send out
> the DHCPREQUEST message within the offered lease time.
We've seen this problem too:
More information about the dhcp-users