2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#103,!277] Reset CBControl upon DHCPv4 serverreconfiguration.

This commit is contained in:
Marcin Siodelski
2019-03-19 13:58:08 +01:00
parent 67eaad645f
commit d8e6e1a017

View File

@@ -316,6 +316,7 @@ configureDhcp4Server(Dhcpv4Srv& server, isc::data::ConstElementPtr config_set,
if (!check_only) {
TimerMgr::instance()->unregisterTimers();
server.discardPackets();
server.getCBControl()->reset();
}
// Revert any runtime option definitions configured so far and not committed.