diff --git a/src/main.rs b/src/main.rs index 3891a51..7556583 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1317,7 +1317,8 @@ fn dns_thread( let _ = soa_auth_recs_sign.insert(rec); // DNSSEC signing and NSEC records - if req.opt().is_some() && req.opt().unwrap().dnssec_ok() && !dnskeys.is_empty() { + if req.opt().is_some() && req.opt().unwrap().dnssec_ok() && !dnskeys.is_empty() + { let incep_ts = Timestamp::from(Timestamp::now().into_int().overflowing_sub(43200).0); let exp_ts = Timestamp::from(