bug 278: print protocol number from Ipv4Header::Print
authorMathieu Lacage <mathieu.lacage@sophia.inria.fr>
Mon, 20 Oct 2008 13:31:25 +0200
changeset 3769 a0946f209866
parent 3768 4f07ee85f2a1
child 3770 33b1372d4108
bug 278: print protocol number from Ipv4Header::Print
src/node/ipv4-header.cc
--- a/src/node/ipv4-header.cc	Mon Oct 20 12:37:43 2008 +0200
+++ b/src/node/ipv4-header.cc	Mon Oct 20 13:31:25 2008 +0200
@@ -221,6 +221,7 @@
   os << "tos 0x" << std::hex << m_tos << std::dec << " "
      << "ttl " << m_ttl << " "
      << "id " << m_identification << " "
+     << "protocol " << m_protocol << " "
      << "offset " << m_fragmentOffset << " "
      << "flags [" << flags << "] "
      << "length: " << (m_payloadSize + 5 * 4)