Bug 1600

Summary: Icmpv6OptionLinkLayerAddress can only carry 48 bits addresses correctly
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: ipv6Assignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs, tomh
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   
Attachments: BugFix

Description Tommaso Pecorella 2013-03-09 16:48:02 UTC
The Icmpv6OptionLinkLayerAddress can only store 48 bit addresses so far. The problem is in the way the option length is calculated, which basically does not take correctly into account the MAC length.
Comment 1 Tommaso Pecorella 2013-03-09 16:54:12 UTC
Created attachment 1529 [details]
BugFix

The patch fixes the bug. It has been tested with Mac16 and Mac64 addresses.
Comment 2 Tom Henderson 2013-03-11 08:42:56 UTC
Looks sensible; +1 to push if it works for you.
Comment 3 Tommaso Pecorella 2013-03-11 18:14:03 UTC
Fixed in changeset 9251:7c3f81b720a7
Comment 4 Tommaso Pecorella 2013-03-14 09:48:38 UTC
*** Bug 1567 has been marked as a duplicate of this bug. ***