]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2819] Fixed remaining spelling
authorFrancis Dupont <fdupont@isc.org>
Mon, 16 Dec 2024 15:05:52 +0000 (16:05 +0100)
committerThomas Markwalder <tmark@isc.org>
Mon, 16 Dec 2024 15:15:09 +0000 (10:15 -0500)
src/bin/dhcp4/tests/fqdn_unittest.cc
src/hooks/dhcp/perfmon/monitored_duration.h
src/lib/dhcpsrv/dhcpsrv_messages.mes
src/lib/dhcpsrv/ncr_generator.cc
src/lib/dhcpsrv/tests/ncr_generator_unittest.cc
src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc
src/lib/util/encode/encode.h
src/lib/util/str.h

index 92264ba16b84bb045fcc76cf525fda5531f0f1a8..8c3c6b4416479866c1f1706e89671a3a8be4ac5d 100644 (file)
@@ -325,7 +325,7 @@ const char* CONFIGS[] = {
     "}",
     // 12
     // D2 enabled
-    // ddns-ttl-percent specfied
+    // ddns-ttl-percent specified
     "{ \"interfaces-config\": {\n"
         "      \"interfaces\": [ \"*\" ]\n"
         "},\n"
index 6cdb3b0f4f1bcefd8cd3bc9d16045260ab9db213..51179c6ed7614a0da39917f41be17a0f5dcd3c60 100644 (file)
@@ -43,7 +43,7 @@ public:
     /// Given a duration value:
     /// -# Increment the number of occurrences
     /// -# Add the duration to the total duration
-    /// -# Update the minimum and/or maxium duration accordingly
+    /// -# Update the minimum and/or maximum duration accordingly
     ///
     /// @param duration Duration to add.
     void addDuration(const Duration& duration);
index 9c0e5efb19afb8158da892dbceaea2b2ba5746a3..1001f5c936d0301d8a0e6996206394d52d7c3056 100644 (file)
@@ -975,7 +975,7 @@ life time, the calculated TTL, and the value actually used.
 % DHCPSRV_DDNS_TTL_TOO_LARGE %1 of lease life time %2 is %3, using maximum of %4 instead.
 Logged at debug log level 55.
 A debug message issued when the DDNS TTL value calculated using the
-ddns-ttl-percent if specfied or (0.33 if not) is larger than the
+ddns-ttl-percent if specified or (0.33 if not) is larger than the
 the specified value of ddns-ttl-max. Kea will ignore the value and
 use the specified maximum instead. The message details include
 the percentage, the lease life time, the calculated TTL, and the value
index c9584bd4f4bc8eec41b88c46ba2a2a95d663d3d3..61540026e5cb413f80a89864b2ba1ae76da266d2 100644 (file)
@@ -158,7 +158,7 @@ uint32_t calculateDdnsTtl(uint32_t lease_lft,
     uint32_t ttl = static_cast<uint32_t>(round(ttl_percent * lease_lft));
 
     // Adjust for minimum and maximum.
-    // If we have a custom mininum enforce it, otherwise per RFC 4702 it
+    // If we have a custom minimum enforce it, otherwise per RFC 4702 it
     // should not less than 600.
     uint32_t ttl_min = (ddns_ttl_min.get() > 0) ? ddns_ttl_min.get() : 600;
     if (ttl < ttl_min) {
index 98807197c456428d13b064325df210ef373984ea..26f82aaf3bd974dbe61569314b22ecbb79fb1fb9 100644 (file)
@@ -746,7 +746,7 @@ TEST_F(NCRGenerator4Test, calculateDdnsTtlThroughQueueNcr) {
         // No modifiers, should be RFC % (i.e lft / 3)
         { __LINE__, 2100, no_percent, no_ttl, no_min, no_max, 700 },
 
-        // No modifiers, RFC % < RFC minium 600
+        // No modifiers, RFC % < RFC minimum 600
         { __LINE__, 1500, no_percent, no_ttl, no_min, no_max, 600 },
 
         // RFC % < specified minimum
@@ -764,7 +764,7 @@ TEST_F(NCRGenerator4Test, calculateDdnsTtlThroughQueueNcr) {
         // Explicit ttl wins over specified minimum
         { __LINE__, 2100, no_percent, 900,    1000,   no_max, 900 },
 
-        // Explicit ttl wins over specified maxiumum
+        // Explicit ttl wins over specified maximum
         { __LINE__, 2100, no_percent, 900,   no_min,  800,    900 },
 
         // Specified percent > RFC minimum
index 3128867206555b01e1a836fddac69856f2b01201..c67603dacc10ddcbae30350f156f99a41b0dab2a 100644 (file)
@@ -197,7 +197,7 @@ public:
         }
     }
 
-    // Verifies invalid permatations of ddns-ttl-percent, ddns-ttl,
+    // Verifies invalid permutations of ddns-ttl-percent, ddns-ttl,
     // ddns-ttl-min, and ddns-ttl-max values for SharedNetwork.
     template<typename ParserType>
     void invalidDdnsTtlParmatersTest() {
index 5365f4239cf8677c3e0e15b8eb4a332c50b4372b..0626674376196fd960a18c01d94ae2fbb795f4e9 100644 (file)
@@ -128,16 +128,16 @@ public:
         return (max_pad_);
     }
 
-    /// @brief Get the maxium index value of the digit set
+    /// @brief Get the maximum index value of the digit set
     ///
-    /// @return Maxium index value of the digit set
+    /// @return Maximum index value of the digit set
     size_t getMaxBitsToDigit() {
         return (max_bits_to_digit_);
     }
 
-    /// @brief Get the maxium index value of the algorithm bit table
+    /// @brief Get the maximum index value of the algorithm bit table
     ///
-    /// @return Maxium index value of the algorithm bit table
+    /// @return Maximum index value of the algorithm bit table
     size_t getMaxDigitToBits() {
         return (max_digit_to_bits_);
     }
@@ -179,10 +179,10 @@ protected:
     /// @brief Indicates whether or not the algorithm's digit set is case-sensitive
     bool case_sensitive_;
 
-    /// @brief Maxium index value of the digit set
+    /// @brief Maximum index value of the digit set
     size_t max_bits_to_digit_;
 
-    /// @brief Maxium index value of the algorithm bit table
+    /// @brief Maximum index value of the algorithm bit table
     size_t max_digit_to_bits_;
 };
 
index d048f0181d2ba9c3e9cf2511f07de942fb425a1c..4e817d502359275ddaa40c558a6d76fbe9ce73f8 100644 (file)
@@ -289,7 +289,7 @@ dumpAsHex(const uint8_t* data, size_t length);
 /// @brief Converts a double to a string with given precision
 ///
 /// @param val double to convert
-/// @param precision number of maxium number decimal places to output
+/// @param precision number of maximum number decimal places to output
 /// @return string representation of val
 std::string dumpDouble(double val, size_t precision = 5);