dhcp6-client: Store lease timeouts T1 and T1 in client struct
authorPatrik Flykt <patrik.flykt@linux.intel.com>
Tue, 11 Sep 2018 22:26:01 +0000 (16:26 -0600)
committerPatrik Flykt <patrik.flykt@linux.intel.com>
Wed, 19 Sep 2018 19:45:18 +0000 (13:45 -0600)
commit9a7225de67ddfb48a2f75f125c16bfe76421ae9c
tree11830050e6a596d923af7022d81d34c134734be5
parent134ebaa45ed454be9282659c4a8e4aaeba14b035
dhcp6-client: Store lease timeouts T1 and T1 in client struct

Since we now have the possibility to request prefixes to be delegated
without corresponding IPv6 addresses, it does not make sense to store
lease T1 and T2 timeouts in the otherwise unused IA_NA structure.
Therefore lease timeouts T1 and T2 are moved to the DHCPv6 client
structure, as there will be only one set of stateful timeouts required
by RFC 7550, Section 4.3.
src/libsystemd-network/dhcp6-internal.h
src/libsystemd-network/dhcp6-lease-internal.h
src/libsystemd-network/sd-dhcp6-client.c
src/libsystemd-network/sd-dhcp6-lease.c