Bug 1742

Summary: IPv6 HbH and Dst Extension Header size is not correctly calculated
Product: ns-3 Reporter: francisco javier sanchez-roselly <franciscojavier.sanchezroselly>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: Patch fixing the 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.