Fix incorrect comment output: {{ was doubled to escape it when using write! but Stdout doesn't implement the required traits for write!.

This commit is contained in:
Ximon Eighteen
2024-11-07 10:51:14 +01:00
parent a886428c17
commit 581d4e612f
+1 -1
View File
@@ -230,7 +230,7 @@ impl SignZone {
records
.write_with_comments(&mut std::io::stdout().lock(), |r, writer| match r.data() {
ZoneRecordData::Nsec3(nsec3) => {
writer.write_all(b" ;{{ flags: ")?;
writer.write_all(b" ;{ flags: ")?;
if nsec3.opt_out() {
writer.write_all(b"optout")?;