mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-12 04:43:22 +08:00
fix offset
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user