Skip to content

Commit 3bc9a73

Browse files
fxduponttmarkwalder
authored andcommitted
[#2819] Fixed remaining spelling
1 parent 5108d12 commit 3bc9a73

File tree

8 files changed

+14
-14
lines changed

8 files changed

+14
-14
lines changed

src/bin/dhcp4/tests/fqdn_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,7 @@ const char* CONFIGS[] = {
325325
"}",
326326
// 12
327327
// D2 enabled
328-
// ddns-ttl-percent specfied
328+
// ddns-ttl-percent specified
329329
"{ \"interfaces-config\": {\n"
330330
" \"interfaces\": [ \"*\" ]\n"
331331
"},\n"

src/hooks/dhcp/perfmon/monitored_duration.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class DurationDataInterval {
4343
/// Given a duration value:
4444
/// -# Increment the number of occurrences
4545
/// -# Add the duration to the total duration
46-
/// -# Update the minimum and/or maxium duration accordingly
46+
/// -# Update the minimum and/or maximum duration accordingly
4747
///
4848
/// @param duration Duration to add.
4949
void addDuration(const Duration& duration);

src/lib/dhcpsrv/dhcpsrv_messages.mes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -975,7 +975,7 @@ life time, the calculated TTL, and the value actually used.
975975
% DHCPSRV_DDNS_TTL_TOO_LARGE %1 of lease life time %2 is %3, using maximum of %4 instead.
976976
Logged at debug log level 55.
977977
A debug message issued when the DDNS TTL value calculated using the
978-
ddns-ttl-percent if specfied or (0.33 if not) is larger than the
978+
ddns-ttl-percent if specified or (0.33 if not) is larger than the
979979
the specified value of ddns-ttl-max. Kea will ignore the value and
980980
use the specified maximum instead. The message details include
981981
the percentage, the lease life time, the calculated TTL, and the value

src/lib/dhcpsrv/ncr_generator.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ uint32_t calculateDdnsTtl(uint32_t lease_lft,
158158
uint32_t ttl = static_cast<uint32_t>(round(ttl_percent * lease_lft));
159159

160160
// Adjust for minimum and maximum.
161-
// If we have a custom mininum enforce it, otherwise per RFC 4702 it
161+
// If we have a custom minimum enforce it, otherwise per RFC 4702 it
162162
// should not less than 600.
163163
uint32_t ttl_min = (ddns_ttl_min.get() > 0) ? ddns_ttl_min.get() : 600;
164164
if (ttl < ttl_min) {

src/lib/dhcpsrv/tests/ncr_generator_unittest.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ TEST_F(NCRGenerator4Test, calculateDdnsTtlThroughQueueNcr) {
746746
// No modifiers, should be RFC % (i.e lft / 3)
747747
{ __LINE__, 2100, no_percent, no_ttl, no_min, no_max, 700 },
748748

749-
// No modifiers, RFC % < RFC minium 600
749+
// No modifiers, RFC % < RFC minimum 600
750750
{ __LINE__, 1500, no_percent, no_ttl, no_min, no_max, 600 },
751751

752752
// RFC % < specified minimum
@@ -764,7 +764,7 @@ TEST_F(NCRGenerator4Test, calculateDdnsTtlThroughQueueNcr) {
764764
// Explicit ttl wins over specified minimum
765765
{ __LINE__, 2100, no_percent, 900, 1000, no_max, 900 },
766766

767-
// Explicit ttl wins over specified maxiumum
767+
// Explicit ttl wins over specified maximum
768768
{ __LINE__, 2100, no_percent, 900, no_min, 800, 900 },
769769

770770
// Specified percent > RFC minimum

src/lib/dhcpsrv/tests/shared_network_parser_unittest.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,7 @@ class SharedNetworkParserTest : public LogContentTest {
197197
}
198198
}
199199

200-
// Verifies invalid permatations of ddns-ttl-percent, ddns-ttl,
200+
// Verifies invalid permutations of ddns-ttl-percent, ddns-ttl,
201201
// ddns-ttl-min, and ddns-ttl-max values for SharedNetwork.
202202
template<typename ParserType>
203203
void invalidDdnsTtlParmatersTest() {

src/lib/util/encode/encode.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,16 @@ class BaseNEncoder {
128128
return (max_pad_);
129129
}
130130

131-
/// @brief Get the maxium index value of the digit set
131+
/// @brief Get the maximum index value of the digit set
132132
///
133-
/// @return Maxium index value of the digit set
133+
/// @return Maximum index value of the digit set
134134
size_t getMaxBitsToDigit() {
135135
return (max_bits_to_digit_);
136136
}
137137

138-
/// @brief Get the maxium index value of the algorithm bit table
138+
/// @brief Get the maximum index value of the algorithm bit table
139139
///
140-
/// @return Maxium index value of the algorithm bit table
140+
/// @return Maximum index value of the algorithm bit table
141141
size_t getMaxDigitToBits() {
142142
return (max_digit_to_bits_);
143143
}
@@ -179,10 +179,10 @@ class BaseNEncoder {
179179
/// @brief Indicates whether or not the algorithm's digit set is case-sensitive
180180
bool case_sensitive_;
181181

182-
/// @brief Maxium index value of the digit set
182+
/// @brief Maximum index value of the digit set
183183
size_t max_bits_to_digit_;
184184

185-
/// @brief Maxium index value of the algorithm bit table
185+
/// @brief Maximum index value of the algorithm bit table
186186
size_t max_digit_to_bits_;
187187
};
188188

src/lib/util/str.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ dumpAsHex(const uint8_t* data, size_t length);
289289
/// @brief Converts a double to a string with given precision
290290
///
291291
/// @param val double to convert
292-
/// @param precision number of maxium number decimal places to output
292+
/// @param precision number of maximum number decimal places to output
293293
/// @return string representation of val
294294
std::string dumpDouble(double val, size_t precision = 5);
295295

0 commit comments

Comments
 (0)