mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-01-18 07:17:32 -05:00
fix dns query
This commit is contained in:
parent
39b4acc3d9
commit
20c330d03c
@ -157,7 +157,7 @@ func (v *UDPNameServer) BuildQueryA(domain string, id uint16) *buf.Buffer {
|
|||||||
}}
|
}}
|
||||||
|
|
||||||
writtenBuffer, _ := msg.PackBuffer(buffer.Bytes())
|
writtenBuffer, _ := msg.PackBuffer(buffer.Bytes())
|
||||||
buffer.Slice(0, len(writtenBuffer))
|
buffer.Append(writtenBuffer)
|
||||||
|
|
||||||
return buffer
|
return buffer
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user