Skip to content
Snippets Groups Projects
Commit 10b43d1b authored by Pierre LALET's avatar Pierre LALET
Browse files

Add an attribute to IP to fix defragment() (broken since PR #11)

parent b610145b
No related branches found
No related tags found
No related merge requests found
......@@ -324,6 +324,7 @@ class ICMPTimeStampField(IntField):
class IP(Packet, IPTools):
__slots__ = ["_defrag_pos"]
name = "IP"
fields_desc = [ BitField("version" , 4 , 4),
BitField("ihl", None, 4),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment