dhcpv6-ia: avoid setting lifetime to infinite for static assignments
authorHans Dedecker <dedeckeh@gmail.com>
Sun, 16 Feb 2020 20:27:42 +0000 (21:27 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Sun, 16 Feb 2020 20:37:45 +0000 (21:37 +0100)
commita90cc2e147b0f6e429c4e5e3e4e42e00b01ec32c
treef1a52553de4bf07eaf5a0d3bfbc4144118eb242a
parentbb07fa4b6d0d48cb2e67a4e9979412af8b05e883
dhcpv6-ia: avoid setting lifetime to infinite for static assignments

Don't set the valid lifetime to infinite for static assignments
but rather set it to the IA lifetime given to the client.
This makes it possible to display the leasetime for static assigments
and simplifies the code in several places

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