]> git.ipfire.org Git - thirdparty/kea.git/commit
[#2764] Added registering callbacks in allocators
authorMarcin Siodelski <marcin@isc.org>
Wed, 22 Feb 2023 20:35:49 +0000 (21:35 +0100)
committerMarcin Siodelski <msiodelski@gmail.com>
Tue, 14 Mar 2023 18:23:31 +0000 (19:23 +0100)
commit475ccd4c924d1d44b75b219a79fbc1f2f81483c8
treed53b2f3a905ea5b9e8e5c404751f699b29c7eb18
parent182cca2b6d033cd40977de7830b7cb931288d8a2
[#2764] Added registering callbacks in allocators

The function is intended to run at the end of the server configuration.
It should iterate over the subnets and for each allocator register suitable
callbacks in the LeaseMgr. Currently, it is no-op.
src/lib/dhcpsrv/allocator.cc
src/lib/dhcpsrv/allocator.h
src/lib/dhcpsrv/cfg_subnets4.cc
src/lib/dhcpsrv/cfg_subnets4.h
src/lib/dhcpsrv/cfg_subnets6.cc
src/lib/dhcpsrv/cfg_subnets6.h
src/lib/dhcpsrv/dhcpsrv_messages.cc
src/lib/dhcpsrv/subnet.cc
src/lib/dhcpsrv/subnet.h
src/lib/dhcpsrv/tests/cfg_subnets4_unittest.cc
src/lib/dhcpsrv/tests/cfg_subnets6_unittest.cc