2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-29 21:18:02 +00:00
This commit is contained in:
Suzanne Goldlust 2023-06-21 19:52:02 +00:00 committed by Piotrek Zadroga
parent d30ce1a390
commit 2b19d7bfc4

View File

@ -813,7 +813,7 @@ Subnet4::toElement() const {
const auto& pools = getPools(Lease::TYPE_V4);
ElementPtr pool_list = Element::createList();
for (const auto& pool : pools) {
// Add the formated pool to the list
// Add the formatted pool to the list
pool_list->add(pool->toElement());
}
map->set("pools", pool_list);
@ -921,7 +921,7 @@ Subnet6::toElement() const {
const auto& pools = getPools(Lease::TYPE_NA);
ElementPtr pool_list = Element::createList();
for (const auto& pool : pools) {
// Add the formated pool to the list
// Add the formatted pool to the list
pool_list->add(pool->toElement());
}
map->set("pools", pool_list);
@ -930,7 +930,7 @@ Subnet6::toElement() const {
const auto& pdpools = getPools(Lease::TYPE_PD);
ElementPtr pdpool_list = Element::createList();
for (const auto& pool : pdpools) {
// Add the formated pool to the list
// Add the formatted pool to the list
pdpool_list->add(pool->toElement());
}
map->set("pd-pools", pdpool_list);