dhcp: fix dhcpv6 client and dhcpv6 prefix delegation 47/23347/3
authorDave Barach <dave@barachs.net>
Sat, 9 Nov 2019 01:20:17 +0000 (20:20 -0500)
committerFlorin Coras <florin.coras@gmail.com>
Sat, 9 Nov 2019 17:28:14 +0000 (17:28 +0000)
commit20b962d3e494513ab28854936cc8bbc32891686b
tree46e5b006f7e5768dc0033a257a44529b00725a57
parent3c80c106a88f18523b7edaeaa8acf5728fd72ec3
dhcp: fix dhcpv6 client and dhcpv6 prefix delegation

Keep trying even if the interface in question is not "admin-up,
link-up." In real life, it's normal for link autonegotiation to take a
good fraction of a second. The driver layer takes care of packets sent
to an interface which can't transmit at the moment.

Renew address leases at the preferred renewal time, not at the
expiration time.

Type: fix

Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I68ec1c52cc1f4a8aa256185820748b845e92f7c1
src/plugins/dhcp/dhcp6_ia_na_client_cp.c
src/plugins/dhcp/dhcp6_ia_na_client_dp.c
src/plugins/dhcp/dhcp6_pd_client_dp.c