]> git.ipfire.org Git - thirdparty/bind9.git/commit
Restore the .ttl field for slabheader in dns_qpzone
authorOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2025 13:06:37 +0000 (14:06 +0100)
committerOndřej Surý <ondrej@isc.org>
Mon, 3 Feb 2025 13:39:06 +0000 (14:39 +0100)
commit36a3ceb19f3fd41cc65637f58a5d618d04bc7351
tree161d599b73d5a51b71273d16cd9302aa6b80aac4
parent60f6b88c6344a806320d64d98efb60d637563c13
Restore the .ttl field for slabheader in dns_qpzone

The original .ttl field was actually used as TTL in the dns_qpzone unit.
Restore the field by adding it to union with the .expire struct member
and cleanup all the code that added or subtracted 'now' from the ttl
field as that was misleading as 'now' would be always 0 for qpzone
database.
lib/dns/include/dns/rdataslab.h
lib/dns/qpzone.c