revert this too

This commit is contained in:
Miek Gieben 2012-06-30 14:49:37 +02:00
parent d495831a86
commit ff707cf2c0
2 changed files with 2 additions and 2 deletions

2
msg.go
View File

@ -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 {

View File

@ -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) },