still need the copy
This commit is contained in:
parent
4fbdf56f5f
commit
dfbfa8b452
|
@ -78,7 +78,6 @@ func (c Cache) lookup(q *dns.Msg) []byte {
|
|||
e := make([]byte, len(d.msg))
|
||||
copy(e, d.msg)
|
||||
return e
|
||||
return d.msg
|
||||
}
|
||||
}
|
||||
return nil
|
||||
|
|
Loading…
Reference in New Issue