mirror of
https://github.com/NLnetLabs/dnst.git
synced 2026-09-25 11:15:01 +02:00
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:
@@ -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")?;
|
||||
|
||||
Reference in New Issue
Block a user