1
0
mirror of https://github.com/fumiama/WireGold.git synced 2026-06-12 04:43:22 +08:00

fix offset

This commit is contained in:
fumiama
2021-12-31 20:14:19 +08:00
parent f7cf029d00
commit 41b085be20
3 changed files with 3 additions and 3 deletions

View File

@@ -97,7 +97,6 @@ func (p *Packet) Marshal(src net.IP, datasz uint32, offset uint16, dontfrag, has
if src != nil {
p.DataSZ = datasz
p.Src = src
offset >>= 3
if dontfrag {
offset |= 0x4000
}