Update deps

This commit is contained in:
Frank Denis 2021-12-22 14:00:37 +01:00
parent fbfc2d57a7
commit e73459f558
103 changed files with 2452 additions and 740 deletions

View file

@ -32,7 +32,9 @@ func (u *Msg) Used(rr []RR) {
u.Answer = make([]RR, 0, len(rr))
}
for _, r := range rr {
r.Header().Class = u.Question[0].Qclass
hdr := r.Header()
hdr.Class = u.Question[0].Qclass
hdr.Ttl = 0
u.Answer = append(u.Answer, r)
}
}