This commit is contained in:
Miek Gieben 2013-01-30 15:56:29 +01:00
parent 625de563d0
commit 9357ac3eff
1 changed files with 1 additions and 0 deletions

1
dns.go
View File

@ -209,6 +209,7 @@ func zoneMatch(pattern, zone string) (ok bool) {
}
// ToRFC3597 converts a known RR to the unknown RR representation
// from RFC 3597.
func ToRFC3597(r RR) *RFC3597 {
buf := make([]byte, r.Len()*2)
off, err := PackStruct(r, buf, 0)