Bug 1855 - SixLowPanNetDevice is not correctly indexed
SixLowPanNetDevice is not correctly indexed
Status: RESOLVED FIXED
Product: ns-3
Classification: Unclassified
Component: sixlowpan
ns-3-dev
All All
: P5 normal
Assigned To: Tommaso Pecorella
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-13 16:49 UTC by Tommaso Pecorella
Modified: 2014-02-13 16:55 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tommaso Pecorella 2014-02-13 16:49:57 UTC
The bug happens when you try to retrieve the interface according to its index.

SixLowPanNetDevice is returning its lower interface index. As a consequence, the two are misunderstood, and the lower layer index is returned by Ipv6PacketInfoTag.

When you check for the interface, the lower-layer one is returned instead of the proper one, raising errors.

In other terms, the technique described in http://www.nsnam.org/wiki/HOWTO_use_IP_interface_indexes
is not working.
Comment 1 Tommaso Pecorella 2014-02-13 16:55:20 UTC
changeset 10617	e31b0f7602d8