Bug 1855

Summary: SixLowPanNetDevice is not correctly indexed
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: sixlowpanAssignee: Tommaso Pecorella <tommaso.pecorella>
Status: RESOLVED FIXED    
Severity: normal CC: ns-bugs
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

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