Dont reset sig incep/expir when using -short
This commit is contained in:
parent
5d57ab340d
commit
499f596754
|
@ -268,8 +268,6 @@ func shortRR(r dns.RR) dns.RR {
|
||||||
t.PublicKey = "..."
|
t.PublicKey = "..."
|
||||||
case *dns.RR_RRSIG:
|
case *dns.RR_RRSIG:
|
||||||
t.Signature = "..."
|
t.Signature = "..."
|
||||||
t.Inception = 0 // For easy grepping
|
|
||||||
t.Expiration = 0
|
|
||||||
case *dns.RR_NSEC3:
|
case *dns.RR_NSEC3:
|
||||||
t.Salt = "-" // Nobody cares
|
t.Salt = "-" // Nobody cares
|
||||||
if len(t.TypeBitMap) > 5 {
|
if len(t.TypeBitMap) > 5 {
|
||||||
|
|
Loading…
Reference in New Issue