diff -r 47d35a36e615 src/applications/v4ping/v4ping.cc --- a/src/applications/v4ping/v4ping.cc Wed Jul 21 20:26:48 2010 +0100 +++ b/src/applications/v4ping/v4ping.cc Thu Jul 22 16:28:43 2010 +0100 @@ -195,6 +195,10 @@ Icmpv4Header header; header.SetType (Icmpv4Header::ECHO); header.SetCode (0); + if (Node::ChecksumEnabled ()) + { + header.EnableChecksum (); + } p->AddHeader (header); m_sent.insert (std::make_pair (m_seq - 1, Simulator::Now())); m_socket->Send (p, 0);