]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2819] Fixed commentary
authorThomas Markwalder <tmark@isc.org>
Tue, 19 Nov 2024 20:44:01 +0000 (15:44 -0500)
committerThomas Markwalder <tmark@isc.org>
Mon, 16 Dec 2024 15:15:09 +0000 (10:15 -0500)
modified:   src/lib/dhcpsrv/ncr_generator.h

src/lib/dhcpsrv/ncr_generator.h

index 467d1ee21c8ab9b9f673b2923c8d86b4bef413ac..e81b37b635f9999968e17f8391a12b8891d9b5fd 100644 (file)
@@ -46,19 +46,16 @@ void queueNCR(const dhcp_ddns::NameChangeType& chg_type, const Lease6Ptr& lease)
 ///
 /// The logic for calculating TTL is as follow:
 ///
-/// If ddns-ttl is specified use it unconditionally.
+/// 1. If ddns-ttl is specified use it unconditionally.
 ///
-/// If ddns-ttl-percnet is specified use it otherwise use 1/3 as
-/// called for by RFC 4702.
+/// 2. If ddns-ttl-percent is specified use it, otherwise use 1/3 as called for by RFC 4702.
 ///
-/// Calculate the candidate TTL based on the deteremined percentage.
+/// 3. Calculate the candidate TTL based on the determined percentage.
 ///
-/// If ddsn-ttl-min is specified used it otherwise use a minimum of
-/// 600 per RFC 4702.  If the TTL is less than the mininum return
-/// the minimum.
+/// 4. If ddns-ttl-min is specified use it otherwise use a minimum of 600 seconds per RFC 4702.
+/// If the calculated TTL is less than the minimum return the minimum.
 ///
-/// If ddsn-ttl-max is specified limit the ttl to that value otherwse
-/// return the ttl.
+/// 5. If ddns-ttl-max is specified limit the calculated TTL to that value.
 ///
 /// @param lease_life_time valid life time of the lease
 /// @param ddns_ttl_percent optional percentage to use in calculation