dhcpv6-ia: Fix assignment of static DHCPv6 leases
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 1 Dec 2016 13:24:23 +0000 (14:24 +0100)
committerFelix Fietkau <nbd@nbd.name>
Thu, 1 Dec 2016 13:26:02 +0000 (14:26 +0100)
commitbe6c5159a46bf2fb813456e53f217a415743ed4c
tree0a6564bf52d7f87c4fc43f277bbd2fde64d5a4f6
parent374dc3f13623df58275d9da51637976c34be125d
dhcpv6-ia: Fix assignment of static DHCPv6 leases

Fix assignment of static DHCPv6 leases which was broken
by commit 6c3bc0141dacc88992583d6f2cdc8a360df7422d.
At the same time fix lifetime check of existing assignments
having a finite lifetime

Fixes FS#309

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