}
// If there are subnets defined, let's go over them one by one and
- // colled subnet-ids used in them.
+ // collect subnet-ids used in them.
for (ConstElementPtr subnet : subnets->listValue()) {
if (!collectID(subnet, set)) {
have_ids = false;
AdaptorConfig::sanitizeDatabase(ConstElementPtr dhcp) {
ConstElementPtr database = dhcp->get("hosts-database");
if (!database) {
+ // nothing to do here.
return;
}
AdaptorConfig::sanitizeRelaySuppliedOptions(ConstElementPtr dhcp) {
ConstElementPtr options = dhcp->get("relay-supplied-options");
if (!options || options->empty()) {
+ // nothing to do here.
return;
}
ElementPtr mutable_dhcp = boost::const_pointer_cast<Element>(dhcp);
if HAVE_GTEST
TESTS += run_unittests
run_unittests_SOURCES = adaptor_unittests.cc
-run_unittests_SOURCES += adaptor_config_unittests.cc
run_unittests_SOURCES += adaptor_option_unittests.cc
run_unittests_SOURCES += adaptor_pool_unittests.cc
run_unittests_SOURCES += adaptor_host_unittests.cc
run_unittests_SOURCES += adaptor_subnet_unittests.cc
+run_unittests_SOURCES += adaptor_config_unittests.cc
run_unittests_SOURCES += sysrepo_setup.h
run_unittests_SOURCES += translator_unittests.cc
run_unittests_SOURCES += translator_control_socket_unittests.cc