netlink: fix IPv6 address updates (FS#2204)
authorHans Dedecker <dedeckeh@gmail.com>
Wed, 27 Mar 2019 15:55:19 +0000 (16:55 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Wed, 27 Mar 2019 16:07:26 +0000 (17:07 +0100)
commit420945ccf1bfa6c0a7cde5f3b6b9d51219d951b8
treec3be0fe6d953db12a34688e47723248d39404588
parent6d23385242c918b0e00f5e21ed41dd655905752b
netlink: fix IPv6 address updates (FS#2204)

Keep the valid and preferred lifetimes in sync with the kernel by always
updating the cached IPv6 addresses in refesh_iface_addr6().
This fixes invalid preferred and valid IA lifetimes in DHCPv6 reply
messages due to the cached preferred and valid lifetimes not being in
sync with the preferred and valid kernel lifetimes

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