Bug 2401 - TcpHeader DeSerialize does not update m_optionsLen
TcpHeader DeSerialize does not update m_optionsLen
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: tcp
pre-release
PC Linux
: P5 normal
Assigned To: natale.patriciello
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-05-04 10:03 UTC by natale.patriciello
Modified: 2016-08-30 03:52 UTC (History)
1 user (show)

See Also:


Attachments
Patch for correcting the situation (1.54 KB, patch)
2016-05-04 10:03 UTC, natale.patriciello
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description natale.patriciello 2016-05-04 10:03:48 UTC
Created attachment 2409 [details]
Patch for correcting the situation

This results in an header that, when serialized and even if options are present, reports a wrong byte amount from GetOptionsLenght (hopefully this API isn't used right now, and the length variable is correct since it is readed from the field)
Comment 1 natale.patriciello 2016-08-30 03:52:06 UTC
Fixed in 12279:4638d860a0c9