From: Andrei Pavel Date: Thu, 23 Jun 2022 13:59:17 +0000 (+0000) Subject: Apply 3 suggestion(s) to 2 file(s) X-Git-Tag: Kea-2.2.0~112 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b58f5c860ec5a5d7736eff598d79652b68de2601;p=thirdparty%2Fkea.git Apply 3 suggestion(s) to 2 file(s) --- diff --git a/src/lib/dhcpsrv/lease_mgr.h b/src/lib/dhcpsrv/lease_mgr.h index 65dc8007a5..d1336b0b6a 100644 --- a/src/lib/dhcpsrv/lease_mgr.h +++ b/src/lib/dhcpsrv/lease_mgr.h @@ -799,7 +799,7 @@ public: /// Lease::TYPE_V4. /// /// @return count of leases - /// @throw NotImplemented if a derviation does not override this. + /// @throw NotImplemented if a derivation does not override this. virtual size_t getClassLeaseCount(const ClientClass& client_class, const Lease::Type& ltype = Lease::TYPE_V4) { // For now we throw, ultimately this should be pure virtual. diff --git a/src/lib/dhcpsrv/memfile_lease_limits.h b/src/lib/dhcpsrv/memfile_lease_limits.h index 891254f419..ba492fb271 100644 --- a/src/lib/dhcpsrv/memfile_lease_limits.h +++ b/src/lib/dhcpsrv/memfile_lease_limits.h @@ -66,7 +66,7 @@ public: /// If no entry exists in container for the class and type, a new one is created. /// /// @param client_class client class to adjust - /// @param offset signed amount to add the current count + /// @param offset signed amount to add to the current count /// @param ltype lease type for which the count is desired, defaults /// to Lease::TYPE_V4 void adjustClassCount(const ClientClass& client_class, int offset, @@ -147,7 +147,7 @@ private: /// @brief Contains counts for classes for addresses. This map is used /// to house either Lease::TYPE_V4 when used for V4 or Lease::TYPE_NA - /// when use for V6. + /// when used for V6. ClassCountMap addresses_by_class_; /// @brief Contains counts for classes for Lease::TYPE_PD. Applicable