Skip to content

Commit

Permalink
Merge branch 'byo-signing-sorter-impl' into sortedrecords-zonemd-remo…
Browse files Browse the repository at this point in the history
…ve-replace
  • Loading branch information
ximon18 committed Dec 9, 2024
2 parents 29cc4a1 + 518b4d7 commit 2a956f7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/sign/records.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1569,7 +1569,9 @@ where
let apex_ttl = families.peek().and_then(|first_family| {
first_family
.records()
.find(|rr| rr.rtype() == Rtype::SOA)
.find(|rr| {
rr.owner() == apex.owner() && rr.rtype() == Rtype::SOA
})
.map(|rr| rr.ttl())
});

Expand Down

0 comments on commit 2a956f7

Please sign in to comment.