]> git.ipfire.org Git - thirdparty/knot-resolver.git/commitdiff
lib: clarify the doc-comment for struct kr_query::timestamp
authorVladimír Čunát <vladimir.cunat@nic.cz>
Mon, 14 Apr 2025 09:13:32 +0000 (11:13 +0200)
committerVladimír Čunát <vladimir.cunat@nic.cz>
Wed, 23 Apr 2025 15:05:31 +0000 (17:05 +0200)
(cherry picked from commit 33151c4b5af57a9e51c998169b42ebe7e48af5fc)

lib/rplan.h

index 68174af5d513d5b035b5116f5126afe70ff7fd1b..fd8146a18bb424ebc5a535e9b91edbff7738a179 100644 (file)
@@ -98,7 +98,7 @@ struct kr_query {
                                 * ancestor if it is a subquery. */
        uint64_t timestamp_mono; /**< Time of query created or time of
                                   * query to upstream resolver (milliseconds). */
-       struct timeval timestamp; /**< Real time for TTL+DNSSEC checks (.tv_sec only). */
+       struct timeval timestamp; /**< Creation real time.  For TTL+DNSSEC checks we use .tv_sec only. */
        struct kr_zonecut zone_cut;
        struct kr_layer_pickle *deferred;