docs
This commit is contained in:
parent
625de563d0
commit
9357ac3eff
1
dns.go
1
dns.go
|
@ -209,6 +209,7 @@ func zoneMatch(pattern, zone string) (ok bool) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// ToRFC3597 converts a known RR to the unknown RR representation
|
// ToRFC3597 converts a known RR to the unknown RR representation
|
||||||
|
// from RFC 3597.
|
||||||
func ToRFC3597(r RR) *RFC3597 {
|
func ToRFC3597(r RR) *RFC3597 {
|
||||||
buf := make([]byte, r.Len()*2)
|
buf := make([]byte, r.Len()*2)
|
||||||
off, err := PackStruct(r, buf, 0)
|
off, err := PackStruct(r, buf, 0)
|
||||||
|
|
Loading…
Reference in New Issue