return (result);
}
- // We are starting the configuration process so we should remove any
- // staging configuration that has been created during previous
- // configuration attempts.
- CfgMgr::instance().rollback();
-
// Check obsolete objects.
// Relocate Logging. Note this allows to check the loggers configuration.
// Log obsolete objects and return an error.
+ // stop thread pool (if running)
+ MultiThreadingCriticalSection cs;
+
+ // We are starting the configuration process so we should remove any
+ // staging configuration that has been created during previous
+ // configuration attempts.
+ CfgMgr::instance().rollback();
+
// Now we check the server proper.
return (checkConfig(dhcp4));
}
return (isc::config::createAnswer(1, err.str()));
}
- // stop thread pool (if running)
- MultiThreadingCriticalSection cs;
-
return (configureDhcp4Server(*srv, config, true));
}
return (result);
}
- // We are starting the configuration process so we should remove any
- // staging configuration that has been created during previous
- // configuration attempts.
- CfgMgr::instance().rollback();
-
// Check obsolete objects.
// Relocate Logging. Note this allows to check the loggers configuration.
// Log obsolete objects and return an error.
+ // stop thread pool (if running)
+ MultiThreadingCriticalSection cs;
+
+ // We are starting the configuration process so we should remove any
+ // staging configuration that has been created during previous
+ // configuration attempts.
+ CfgMgr::instance().rollback();
+
// Now we check the server proper.
return (checkConfig(dhcp6));
}
return (no_srv);
}
- // stop thread pool (if running)
- MultiThreadingCriticalSection cs;
-
return (configureDhcp6Server(*srv, config, true));
}