]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
Apply 3 suggestion(s) to 2 file(s)
authorAndrei Pavel <andrei@isc.org>
Thu, 23 Jun 2022 13:59:17 +0000 (13:59 +0000)
committerThomas Markwalder <tmark@isc.org>
Wed, 29 Jun 2022 11:07:48 +0000 (07:07 -0400)
src/lib/dhcpsrv/lease_mgr.h
src/lib/dhcpsrv/memfile_lease_limits.h

index 65dc8007a596e2e885ee9b5ce892e1ea33e32c0a..d1336b0b6a919631871aa053cfb2e35d3f08bdde 100644 (file)
@@ -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.
index 891254f419f3f67ee6df8fc3be77c43a34752499..ba492fb271ad85fb40b31d0dfe4f504b2458345f 100644 (file)
@@ -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