Skip to content

Commit

Permalink
Don't output ; lines if -b is not enabled.
Browse files Browse the repository at this point in the history
  • Loading branch information
ximon18 committed Nov 22, 2024
1 parent 5dfff42 commit ed60fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/signzone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,7 @@ impl SignZone {
let ZoneRecordData::Rrsig(rrsig) = covering_rrsig_rr.data() else {
unreachable!();
};
if rrsig.type_covered() == Rtype::NSEC3 {
if self.extra_comments && rrsig.type_covered() == Rtype::NSEC3 {
writer.write_str(";\n")?;
}
}
Expand Down

0 comments on commit ed60fc7

Please sign in to comment.