network: (fixes #2266) NixRouting info are not copied during a packet fragmentation.
This commit is contained in:
@@ -88,6 +88,7 @@ Bugs fixed
|
||||
- Bug 2258 - TcpSocketBase updated options and RTT for out of range segments.
|
||||
- Bug 2259 - GSL not successfully enabled for Wi-Fi DSSS error rate model
|
||||
- Bug 2262 - Corrected initial slow start threshold value
|
||||
- Bug 2266 - NixRouting info are not copied during a packet fragmentation.
|
||||
- Bug 2267 - Wrong channel bandwidth value in pcap files
|
||||
- Bug 2272 - SixLowPan NetDevice can not send uncompressed packets larger than 802.15.4 MTU
|
||||
- Bug 2286 - Support for SLL header (de)serialization.
|
||||
|
||||
@@ -236,7 +236,9 @@ Packet::CreateFragment (uint32_t start, uint32_t length) const
|
||||
PacketMetadata metadata = m_metadata.CreateFragment (start, end);
|
||||
// again, call the constructor directly rather than
|
||||
// through Create because it is private.
|
||||
return Ptr<Packet> (new Packet (buffer, byteTagList, m_packetTagList, metadata), false);
|
||||
Ptr<Packet> ret = Ptr<Packet> (new Packet (buffer, byteTagList, m_packetTagList, metadata), false);
|
||||
ret->SetNixVector (GetNixVector ());
|
||||
return ret;
|
||||
}
|
||||
|
||||
void
|
||||
|
||||
@@ -143,7 +143,7 @@ Ipv4NixVectorRouting::GetNixVector (Ptr<Node> source, Ipv4Address dest, Ptr<NetD
|
||||
/// Do not process packets to self (see \bugid{1308})
|
||||
if (source == destNode)
|
||||
{
|
||||
NS_LOG_DEBUG ("Do not processs packets to self");
|
||||
NS_LOG_DEBUG ("Do not process packets to self");
|
||||
return 0;
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user