Bug 1855 - SixLowPanNetDevice is not correctly indexed

This commit is contained in:
Tommaso Pecorella
2014-02-13 22:53:39 +01:00
parent 73ceda8109
commit 4faabb5898
2 changed files with 3 additions and 4 deletions

View File

@@ -31,7 +31,6 @@ New user-visible features
Bugs fixed
----------
- Bug 1852 - cairo-wideint-private.h error cannot find definitions for fixed-width integral types
- Bug 1739 - The endpoint is not deallocated for UDP sockets
- Bug 1786 - os << int64x64_t prints un-normalized fractional values
- Bug 1808 - FlowMon relies on IPv4's Identification field to trace packets
@@ -40,6 +39,8 @@ Bugs fixed
- Bug 1838 - FlowMonitorHelper must not be copied.
- Bug 1841 - FlowMonitor fails to install if IPv4 is not installed in the node
- Bug 1846 - IPv6 should send Destination Unreachable if no route is available
- Bug 1852 - cairo-wideint-private.h error cannot find definitions for fixed-width integral types
- Bug 1855 - SixLowPanNetDevice is not correctly indexed
Release 3.19
=============

View File

@@ -252,15 +252,13 @@ void SixLowPanNetDevice::ReceiveFromDevice (Ptr<NetDevice> incomingPort,
void SixLowPanNetDevice::SetIfIndex (const uint32_t index)
{
NS_LOG_FUNCTION (this << index);
// NS_ASSERT_MSG ( m_port != 0, "Sixlowpan: can't find any lower-layer protocol " << m_port );
m_ifIndex = index;
}
uint32_t SixLowPanNetDevice::GetIfIndex (void) const
{
NS_LOG_FUNCTION (this);
// NS_ASSERT_MSG ( m_port != 0, "Sixlowpan: can't find any lower-layer protocol " << m_port );
return m_netDevice->GetIfIndex ();
return m_ifIndex;
}
Ptr<Channel> SixLowPanNetDevice::GetChannel (void) const