sd-dhcp-server: simplify pool creation
authorTom Gundersen <teg@jklm.no>
Fri, 28 Aug 2015 18:29:10 +0000 (20:29 +0200)
committerTom Gundersen <teg@jklm.no>
Mon, 31 Aug 2015 19:34:58 +0000 (21:34 +0200)
commit99634696183dfabae20104e58157c69029a11594
treebaa3505182666eaf47944ce6b1d4c0fd93ce28a7
parentd728d7faa6c60f185be72510d87bcc565bc0846a
sd-dhcp-server: simplify pool creation

Merge sd_dhcp_server_set_address() and sd_dhcp_server_set_lease_pool() into
sd_dhcp_server_configure_pool() as the behavior of the two former depends
on the order they are called in. The flexibility is not needed, so let's
just do this in one call.
src/libsystemd-network/dhcp-server-internal.h
src/libsystemd-network/sd-dhcp-server.c
src/libsystemd-network/test-dhcp-server.c
src/network/networkd-link.c
src/systemd/sd-dhcp-server.h