aboutsummaryrefslogtreecommitdiff
path: root/contrib/unbound/util/data/packed_rrset.h
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/unbound/util/data/packed_rrset.h')
-rw-r--r--contrib/unbound/util/data/packed_rrset.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/contrib/unbound/util/data/packed_rrset.h b/contrib/unbound/util/data/packed_rrset.h
index 729877bab5ec..ff95c0af0e8d 100644
--- a/contrib/unbound/util/data/packed_rrset.h
+++ b/contrib/unbound/util/data/packed_rrset.h
@@ -233,6 +233,9 @@ enum sec_status {
* the ttl value to send changes due to time.
*/
struct packed_rrset_data {
+ /** Timestamp added to TTLs in the packed data.
+ * Needed to support serving original TTLs. */
+ time_t ttl_add;
/** TTL (in seconds like time()) of the rrset.
* Same for all RRs see rfc2181(5.2). */
time_t ttl;