correctly insert

This commit is contained in:
Miek Gieben 2012-07-15 18:16:20 +02:00
parent 2569757dd1
commit 8d963d7fa0
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ func (z *Zone) Insert(r RR) {
default:
zd.RR[t] = append(zd.RR[t], r)
}
z.Radix.Insert(r.Header().Name)
z.Radix.Insert(r.Header().Name, zd)
return
}
switch t := r.Header().Rrtype; t {