|
@@ -482,7 +482,7 @@ public:
|
|
|
/// @brief Patch the server config to add interface-config/re-detect=false
|
|
|
/// @param json the server config
|
|
|
inline void
|
|
|
-patchIfacesReDetect(isc::data::ConstElementPtr json) {
|
|
|
+disableIfacesReDetect(isc::data::ConstElementPtr json) {
|
|
|
isc::data::ConstElementPtr ifaces_cfg = json->get("interfaces-config");
|
|
|
if (ifaces_cfg) {
|
|
|
isc::data::ElementPtr mutable_cfg =
|
|
@@ -517,7 +517,7 @@ parseDHCP4(const std::string& in, bool verbose = false)
|
|
|
isc::dhcp::Parser4Context ctx;
|
|
|
isc::data::ElementPtr json;
|
|
|
json = ctx.parseString(in, isc::dhcp::Parser4Context::SUBPARSER_DHCP4);
|
|
|
- patchIfacesReDetect(json);
|
|
|
+ disableIfacesReDetect(json);
|
|
|
return (json);
|
|
|
}
|
|
|
catch (const std::exception& ex) {
|