Skip to content

Commit

Permalink
TTLs are 32-bits
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeroen Koekkoek committed Apr 12, 2024
1 parent bf20841 commit 5bfe253
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions zonec.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,8 +264,8 @@ int32_t zonec_accept(
} else {
struct rr *rrs;
if (type != TYPE_RRSIG && ttl != rrset->rrs[0].ttl) {
zone_log(parser, priority, "%s TTL %"PRIu16" does not match TTL %u of %s RRset",
domain_to_string(domain), (uint16_t)ttl, rrset->rrs[0].ttl,
zone_log(parser, priority, "%s TTL %"PRIu32" does not match TTL %u of %s RRset",
domain_to_string(domain), ttl, rrset->rrs[0].ttl,
rrtype_to_string(type));
}

Expand Down

0 comments on commit 5bfe253

Please sign in to comment.