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