mirror of
https://github.com/miekg/dns.git
synced 2025-10-15 20:01:00 +02:00
Exclude msg.Compress from json
This commit is contained in:
parent
c33e37f38d
commit
ababac6b57
2
msg.go
2
msg.go
@ -69,7 +69,7 @@ type MsgHdr struct {
|
||||
// The layout of a DNS message.
|
||||
type Msg struct {
|
||||
MsgHdr
|
||||
Compress bool // If true, the message will be compressed when converted to wire format.
|
||||
Compress bool `json:"-"` // If true, the message will be compressed when converted to wire format.
|
||||
Question []Question // Holds the RR(s) of the question section.
|
||||
Answer []RR // Holds the RR(s) of the answer section.
|
||||
Ns []RR // Holds the RR(s) of the authority section.
|
||||
|
Loading…
x
Reference in New Issue
Block a user