Vendor update gopacket and unix package
This commit is contained in:
1 parent
54d24e65ef
commit
43d3339b39
319 files changed
+91339
-13246
No files matched your search
+4
@@ -72,6 +72,10 @@ func (vx *VXLAN) SerializeTo(b gopacket.SerializeBuffer, opts gopacket.Serialize
|
||||
return err
|
||||
}
|
||||
|
||||
// PrependBytes does not guarantee that bytes are zeroed. Setting flags via OR requires that they start off at zero
|
||||
bytes[0] = 0
|
||||
bytes[1] = 0
|
||||
|
||||
if vx.ValidIDFlag {
|
||||
bytes[0] |= 0x08
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user