Bug 1742 - IPv6 HbH and Dst Extension Header size is not correctly calculated
IPv6 HbH and Dst Extension Header size is not correctly calculated
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-08-05 09:09 UTC by francisco javier sanchez-roselly
Modified: 2013-08-05 13:25 UTC (History)
1 user (show)

See Also:


Attachments
Patch fixing the bug (625 bytes, application/octet-stream)
2013-08-05 09:09 UTC, francisco javier sanchez-roselly
Details

Note You need to log in before you can comment on or make changes to this bug.
Description francisco javier sanchez-roselly 2013-08-05 09:09:53 UTC
Created attachment 1651 [details]
Patch fixing the bug

The HbH and Dst Extension Header size is always zero (meaning 8 bytes long Extension Header), and it does not take into account the Option Field length (or the associated padding).
Comment 1 Tommaso Pecorella 2013-08-05 11:06:37 UTC
+1

I'll push it later tonight.
Comment 2 Tommaso Pecorella 2013-08-05 13:25:44 UTC
Fixed in changeset 10112:fa446d420a4a

T.