[riot-notifications] [RIOT-OS/RIOT] dhcpv6_client: mrd calculation for renew and rebind is wrong (#16677)

Martine Lenders notifications at github.com
Fri Jul 23 17:08:26 CEST 2021

> and "dhcpv6_client_prefix_valid_until" does do what its name says but not what its description says
> the function return the time in second until a lease is valid on the msec (ev)timer

AFAIK this can just be converted by dividing by 1000, since it is an offset to that timers time. Of course, due to the time being in 32-bit scale, there could be a cut-of, but that's an issue with GNRC's NIB, not the DHCPv6 client implementation.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210723/85ce0ae2/attachment.htm>

More information about the notifications mailing list