mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-04-04 22:33:36 +03:00
fix
This commit is contained in:
parent
d639ccc627
commit
b6a3e0718f
1 changed files with 1 additions and 1 deletions
|
@ -147,7 +147,7 @@ func (s *ClassicNameServer) HandleResponse(ctx context.Context, packet *udp_prot
|
|||
newMsg.ID = s.newReqID()
|
||||
newReq.msg = &newMsg
|
||||
s.addPendingRequest(&newReq)
|
||||
b, _ := dns.PackMessage(req.msg)
|
||||
b, _ := dns.PackMessage(newReq.msg)
|
||||
s.udpServer.Dispatch(toDnsContext(newReq.ctx, s.address.String()), *s.address, b)
|
||||
return
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue