author | John Abraham <john.abraham.in@gmail.com> |
Mon, 15 Jul 2013 19:43:05 -0700 | |
changeset 9951 | 992672356bc3 |
parent 9950 | 9963d622b120 |
child 9952 | b208d6d5cbf4 |
--- a/src/netanim/model/animation-interface.cc Mon Jul 15 15:08:10 2013 -0700 +++ b/src/netanim/model/animation-interface.cc Mon Jul 15 19:43:05 2013 -0700 @@ -214,7 +214,7 @@ continue; } NS_LOG_INFO ("Begin Track Route for: " << trackElement.destination.c_str () << " From:" << trackElement.fromNodeId); - Ptr<Packet> pkt = 0; + Ptr<Packet> pkt = Create<Packet> (); Ipv4Header header; header.SetDestination (Ipv4Address (trackElement.destination.c_str ())); Socket::SocketErrno sockerr;