Browse Source

Update to work with latest dns library

Ask Bjørn Hansen 13 years ago
parent
commit
54fd62e344
1 changed files with 3 additions and 3 deletions
  1. 3 3
      config.go

+ 3 - 3
config.go

@@ -270,9 +270,9 @@ func setupZoneData(data map[string]interface{}, Zone *Zone) {
 						pref = uint16(valueToInt(rec["preference"]))
 					}
 					record.RR = &dns.RR_MX{
-						Hdr:  h,
-						Mx:   mx,
-						Pref: pref}
+						Hdr:        h,
+						Mx:         mx,
+						Preference: pref}
 
 				case dns.TypeCNAME:
 					rec := records[rType][i]