When the value is infinite, we didn’t start any timer. And the lease will be infinite.
But this only happens when the t1 value is not set.
On Jul 1, 2016, at 5:05 AM, Patrik Flykt
On Tue, 2016-06-28 at 14:34 -0700, Feng Wang wrote:
> Based on RFC 3315, 22.6, the valid life-time is infinite when its
> value is 0xffffffff. In the g_dhcpv6_client_get_timeouts, the expire
> data type is time_t. If time_t is uint32, the last_request time plus
> 0xffffffff will wrapover so that expire time is smaller than current
> time. Thus the dhcpv6 will restart immediately(dhcpv6_restart
If the timeout value is inifinite, should we actually omit setting the
timer? That way also our lease will be inifinite?