2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 22:15:23 +00:00

[5186] Made timer unregistration conditional (seems to be enough)

This commit is contained in:
Francis Dupont
2017-04-19 16:34:46 +02:00
parent d646d2e56c
commit ca2130c386

View File

@@ -413,7 +413,9 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set,
Subnet::resetSubnetID();
// Remove any existing timers.
TimerMgr::instance()->unregisterTimers();
if (!check_only) {
TimerMgr::instance()->unregisterTimers();
}
// Revert any runtime option definitions configured so far and not committed.
LibDHCP::revertRuntimeOptionDefs();