Skip to content

Commit

Permalink
Always output comments for DNSKEY RRs.
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Nov 22, 2024
1 parent 9eb17c2 commit 5dfff42
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/commands/signzone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -570,9 +570,7 @@ impl SignZone {
ZoneRecordData::Nsec3(nsec3) if ec => {
nsec3.comment(&mut writer, rr, nsec3_cs)?
}
ZoneRecordData::Dnskey(dnskey) if ec => {
dnskey.comment(&mut writer, rr, ())?
}
ZoneRecordData::Dnskey(dnskey) => dnskey.comment(&mut writer, rr, ())?,
_ => { /* Nothing to do */ }
}
writer.write_str("\n")?;
Expand Down

0 comments on commit 5dfff42

Please sign in to comment.