Bug 2266

Summary: NixRouting info are not copied during a packet fragmentation
Product: ns-3 Reporter: Tommaso Pecorella <tommaso.pecorella>
Component: nix-vectorAssignee: John Abraham <john.abraham.in>
Status: RESOLVED FIXED    
Severity: critical CC: joshpelkey, ns-bugs, riley
Priority: P5    
Version: ns-3-dev   
Hardware: All   
OS: All   

Description Tommaso Pecorella 2016-01-14 11:34:56 UTC
Packet::CreateFragment discards the NixVector data. As a result, the fragment causes Nix to raise an assert.
The obvious solution is to copy them:

  Ptr<Packet> ret = Ptr<Packet> (new Packet (buffer, byteTagList, m_packetTagList, metadata), false);
  ret->SetNixVector (GetNixVector ());
  return ret;
Comment 1 Tommaso Pecorella 2016-02-03 16:30:41 UTC
Pushed in changeset 11845:d6a1d7cd723f