mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#3770] Minor clean up
modified: src/lib/dhcpsrv/testutils/test_config_backend_dhcp4.cc
This commit is contained in:
parent
dab54162e3
commit
79c2806d8b
@ -747,8 +747,8 @@ TestConfigBackendDHCPv4::createUpdateOption4(const db::ServerSelector& server_se
|
|||||||
for (auto option_it = option_it_pair.first;
|
for (auto option_it = option_it_pair.first;
|
||||||
option_it != option_it_pair.second;
|
option_it != option_it_pair.second;
|
||||||
++option_it) {
|
++option_it) {
|
||||||
/// @todo TKM - shouldn't this also compare client_classes_?
|
|
||||||
if ((option_it->space_name_ == option->space_name_) &&
|
if ((option_it->space_name_ == option->space_name_) &&
|
||||||
|
(option_it->client_classes_ == option->client_classes_) &&
|
||||||
(option_it->hasServerTag(ServerTag(tag)))) {
|
(option_it->hasServerTag(ServerTag(tag)))) {
|
||||||
index.replace(option_it, *option);
|
index.replace(option_it, *option);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user