/// as a parameter. If an item exists in the destination it is not
/// copied.
///
+ /// @note: this method is not longer used so should become private.
+ ///
/// @param [out] other Configuration object to merge to.
void mergeTo(CfgOption& other) const;
subnet_->setIface(iface);
}
- // Merge globally defined options to the subnet specific options.
- CfgMgr::instance().getStagingCfg()->getCfgOption()->mergeTo(*options_);
+ // Here globally defined options were merged to the subnet specific
+ // options but it is no longer the case (they have a different
+ // and not consecutive priority).
+
// Copy all options to the subnet configuration.
options_->copyTo(*subnet_->getCfgOption());
// Append suboptions to the top-level options.