a new line
Add a newline before printing the EDNS record. Make it look like a real pseudo section
This commit is contained in:
parent
c5c1a0eecc
commit
4228e0ad7d
2
edns.go
2
edns.go
|
@ -50,7 +50,7 @@ func (rr *RR_OPT) Header() *RR_Header {
|
|||
}
|
||||
|
||||
func (rr *RR_OPT) String() string {
|
||||
s := ";; OPT PSEUDOSECTION:\n; EDNS: version " + strconv.Itoa(int(rr.Version())) + "; "
|
||||
s := "\n;; OPT PSEUDOSECTION:\n; EDNS: version " + strconv.Itoa(int(rr.Version())) + "; "
|
||||
if rr.Do() {
|
||||
s += "flags: do; "
|
||||
} else {
|
||||
|
|
Loading…
Reference in New Issue