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

TCP: support flag Nonce Sum (N)

Fix proposed by @fredonner. Closes #59.
parent a633ec88
No related branches found
No related tags found
No related merge requests found
...@@ -440,8 +440,8 @@ class TCP(Packet): ...@@ -440,8 +440,8 @@ class TCP(Packet):
IntField("seq", 0), IntField("seq", 0),
IntField("ack", 0), IntField("ack", 0),
BitField("dataofs", None, 4), BitField("dataofs", None, 4),
BitField("reserved", 0, 4), BitField("reserved", 0, 3),
FlagsField("flags", 0x2, 8, "FSRPAUEC"), FlagsField("flags", 0x2, 9, "FSRPAUECN"),
ShortField("window", 8192), ShortField("window", 8192),
XShortField("chksum", None), XShortField("chksum", None),
ShortField("urgptr", 0), ShortField("urgptr", 0),
......
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