dhcp: rework assignment free logic
authorHans Dedecker <dedeckeh@gmail.com>
Mon, 18 Feb 2019 17:22:24 +0000 (18:22 +0100)
committerHans Dedecker <dedeckeh@gmail.com>
Tue, 19 Feb 2019 08:04:47 +0000 (09:04 +0100)
commitafbd7dd2a0f26f603ee21685ede2bba14a41a34a
treef78b78b0debb51d98bc0cdb7b6ee7921d69b78cf
parent1f01299c677653cf6d67c82c2df7b7e028508876
dhcp: rework assignment free logic

Replace the separate dhcpv4/dhcpv6 assignment free functions by
the function free_assignment which calls the dhcp specific
free function via a callback

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