mirror of
https://github.com/XTLS/Xray-core.git
synced 2025-05-05 11:48:41 +00:00
Merge branch 'dns' into dns-geo
This commit is contained in:
commit
8a7cd65fc2
35 changed files with 458 additions and 180 deletions
|
@ -38,7 +38,7 @@ func NewExisted(b []byte) *Buffer {
|
|||
|
||||
oLen := len(b)
|
||||
if oLen < Size {
|
||||
b = append(b, make([]byte, Size-oLen)...)
|
||||
b = b[:Size]
|
||||
}
|
||||
|
||||
return &Buffer{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue