Bug 1874 - Ipv4L3Protocol::ProcessFragment: addressCombination and idProto identifiers not properly computed
This commit is contained in:
@@ -47,6 +47,7 @@ Bugs fixed
|
||||
- Bug 1853 - NS_LOG_FUNCTION broken on OSX 10.9
|
||||
- Bug 1855 - SixLowPanNetDevice is not correctly indexed
|
||||
- Bug 1862 - NS_LOG="Time=*|prefix_time" causes stack overflow
|
||||
- Bug 1874 - Ipv4L3Protocol::ProcessFragment: addressCombination and idProto identifiers not properly computed
|
||||
|
||||
Release 3.19
|
||||
=============
|
||||
|
||||
@@ -1290,8 +1290,8 @@ Ipv4L3Protocol::ProcessFragment (Ptr<Packet>& packet, Ipv4Header& ipHeader, uint
|
||||
{
|
||||
NS_LOG_FUNCTION (this << packet << ipHeader << iif);
|
||||
|
||||
uint64_t addressCombination = uint64_t (ipHeader.GetSource ().Get ()) << 32 & uint64_t (ipHeader.GetDestination ().Get ());
|
||||
uint32_t idProto = uint32_t (ipHeader.GetIdentification ()) << 16 & uint32_t (ipHeader.GetProtocol ());
|
||||
uint64_t addressCombination = uint64_t (ipHeader.GetSource ().Get ()) << 32 | uint64_t (ipHeader.GetDestination ().Get ());
|
||||
uint32_t idProto = uint32_t (ipHeader.GetIdentification ()) << 16 | uint32_t (ipHeader.GetProtocol ());
|
||||
std::pair<uint64_t, uint32_t> key;
|
||||
bool ret = false;
|
||||
Ptr<Packet> p = packet->Copy ();
|
||||
|
||||
Reference in New Issue
Block a user