treewide: rework IPv4 address logic
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 3 Jul 2017 14:39:21 +0000 (16:39 +0200)
committerHans Dedecker <dedeckeh@gmail.com>
Mon, 7 Aug 2017 13:27:20 +0000 (15:27 +0200)
commit95d0fb6c25944985b9717a51cebaa7ea8dc7222d
tree511a3d34366f148043a1920bf54b414ed7962199
parent296b4a0ddd7d6d77e48ee36f3407b0769caaa0d7
treewide: rework IPv4 address logic

Align IPv4 address logic with IPv6 by caching per interface the assigned
IPv4 addresses. This allows to get rid of different ioctl calls in the
DHCPv4 logic to retrieve the IPv4 address and netmask in use by an
interface.

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