fix(dns.go): Pref is now Preference

Simple mistake from, what I guess, was an earlier API change.
This commit is contained in:
Brandon Philips 2014-01-25 15:57:16 -08:00
parent 80d453b82d
commit 870c049f52
1 changed files with 1 additions and 1 deletions

2
dns.go
View File

@ -18,7 +18,7 @@
//
// r := new(dns.MX)
// r.Hdr = dns.RR_Header{Name: "miek.nl.", Rrtype: dns.TypeMX, Class: dns.ClassINET, Ttl: 3600}
// r.Pref = 10
// r.Preference = 10
// r.Mx = "mx.miek.nl."
//
// Or directly from a string: