Commit ca2130c3 authored by Francis Dupont's avatar Francis Dupont
Browse files

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

parent d646d2e5
......@@ -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();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment