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:
@@ -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();
|
||||
|
Reference in New Issue
Block a user