"}",
// 12
// D2 enabled
- // ddns-ttl-percent specfied
+ // ddns-ttl-percent specified
"{ \"interfaces-config\": {\n"
" \"interfaces\": [ \"*\" ]\n"
"},\n"
/// 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);
% 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
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) {
// 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
// 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
}
}
- // 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() {
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_);
}
/// @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_;
};
/// @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);