treewide: rework logic to retrieve IPv6 interface addresses
authorHans Dedecker <dedeckeh@gmail.com>
Thu, 29 Jun 2017 13:35:21 +0000 (15:35 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 3 Jul 2017 09:32:53 +0000 (11:32 +0200)
commit18df6cca092743a07be8e0f05d0a9ef941957b66
treef438a10bde79dc55de8f0dee53bf70276ed82a4e
parent803b83ec64d6f77262b378b83af0a9d84da68c49
treewide: rework logic to retrieve IPv6 interface addresses

Retrieve IPv6 interface addresses when the interface gets created; this
allows to get rid of the IPv6 address dump logic in ndp.c.
Add IPv4 address support in odhcp_ipaddr struct.

Signed-off-by: Hans Dedecker <dedeckeh@gmail.com>
src/config.c
src/dhcpv6-ia.c
src/dhcpv6.c
src/dhcpv6.h
src/ndp.c
src/odhcpd.c
src/odhcpd.h
src/router.c