Bug 1600 - Icmpv6OptionLinkLayerAddress can only carry 48 bits addresses correctly
Icmpv6OptionLinkLayerAddress can only carry 48 bits addresses correctly
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: ipv6
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
: 1567 (view as bug list)
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-03-09 16:48 UTC by Tommaso Pecorella
Modified: 2013-03-14 09:48 UTC (History)
2 users (show)

See Also:


Attachments
BugFix (1.37 KB, patch)
2013-03-09 16:54 UTC, Tommaso Pecorella
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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. ***