revert this too
This commit is contained in:
parent
d495831a86
commit
ff707cf2c0
2
msg.go
2
msg.go
|
@ -1079,7 +1079,7 @@ func unpackRR(msg []byte, off int) (rr RR, off1 int, ok bool) {
|
|||
}
|
||||
end := off + int(h.Rdlength)
|
||||
// make an rr of that type and re-unpack.
|
||||
mk, known := Rr_mk[h.Rrtype]
|
||||
mk, known := rr_mk[h.Rrtype]
|
||||
if !known {
|
||||
rr = new(RR_RFC3597)
|
||||
} else {
|
||||
|
|
2
types.go
2
types.go
|
@ -1400,7 +1400,7 @@ func cmToString(mantissa, exponent uint8) string {
|
|||
}
|
||||
|
||||
// Map of constructors for each RR wire type.
|
||||
var Rr_mk = map[uint16]func() RR{
|
||||
var rr_mk = map[uint16]func() RR{
|
||||
TypeCNAME: func() RR { return new(RR_CNAME) },
|
||||
TypeHINFO: func() RR { return new(RR_HINFO) },
|
||||
TypeMB: func() RR { return new(RR_MB) },
|
||||
|
|
Loading…
Reference in New Issue