]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#4190] Addressed review comments
authorThomas Markwalder <tmark@isc.org>
Fri, 7 Nov 2025 16:31:18 +0000 (11:31 -0500)
committerThomas Markwalder <tmark@isc.org>
Fri, 7 Nov 2025 17:32:36 +0000 (17:32 +0000)
    modified:   src/hooks/dhcp/lease_query/lease_query_impl.cc

src/hooks/dhcp/lease_query/lease_query_impl.cc

index d4712f0ca49741345dd675a126f9d591a7483317..3287f1641fdadd47a1b3ab627c38e640bc5a1d8c 100644 (file)
@@ -107,10 +107,6 @@ LeaseQueryImpl::parserRequesters(ConstElementPtr requesters) {
 
     for (auto const& address_elem : requesters->listValue()) {
         auto entry_txt = address_elem->stringValue();
-        // first let's remove any whitespaces
-        boost::erase_all(entry_txt, " "); // space
-        boost::erase_all(entry_txt, "\t"); // tabulation
-
         // Is this just an address or is it CIDR?
         size_t pos = entry_txt.find("/");
         if (pos == std::string::npos) {