mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2025-01-07 09:53:58 +08:00
Fix(dns): Incorrect variable name
This commit is contained in:
parent
ce94ed8802
commit
a446a24be9
@ -19,7 +19,7 @@ func withFakeIP(cache *cache.Cache, pool *fakeip.Pool) handler {
|
||||
q := r.Question[0]
|
||||
|
||||
cacheItem := cache.Get("fakeip:" + q.String())
|
||||
if cache != nil {
|
||||
if cacheItem != nil {
|
||||
msg := cacheItem.(*D.Msg).Copy()
|
||||
setMsgTTL(msg, 1)
|
||||
msg.SetReply(r)
|
||||
|
Loading…
x
Reference in New Issue
Block a user